|
@@ -42,7 +42,7 @@
|
|
|
:underline="false"
|
|
|
style="font-size: 12px; vertical-align: baseline"
|
|
|
@click="importTemplate"
|
|
|
- >下载模板
|
|
|
+ >下载模板
|
|
|
</el-link>
|
|
|
</div>
|
|
|
</el-upload>
|
|
@@ -67,7 +67,7 @@
|
|
|
icon="el-icon-plus"
|
|
|
size="mini"
|
|
|
@click="addHandler"
|
|
|
- >新增
|
|
|
+ >新增
|
|
|
</el-button>
|
|
|
</el-col>
|
|
|
<!-- <el-col :span="1.5" v-if="false">
|
|
@@ -89,7 +89,7 @@
|
|
|
size="mini"
|
|
|
:disabled="multiple"
|
|
|
@click="myDeleteHandler"
|
|
|
- >删除
|
|
|
+ >删除
|
|
|
</el-button>
|
|
|
</el-col>
|
|
|
<!-- <el-col :span="1.5">
|
|
@@ -98,7 +98,7 @@
|
|
|
icon="el-icon-upload2"
|
|
|
size="mini"
|
|
|
@click="upload.open = true"
|
|
|
- >导入
|
|
|
+ >导入
|
|
|
</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
@@ -108,7 +108,7 @@
|
|
|
icon="el-icon-download"
|
|
|
size="mini"
|
|
|
@click="handleExport"
|
|
|
- >导出
|
|
|
+ >导出
|
|
|
</el-button>
|
|
|
</el-col> -->
|
|
|
|
|
@@ -171,7 +171,7 @@
|
|
|
:style="`color:${
|
|
|
scope.row.styleFieldObj[item.key].fontColor
|
|
|
}`"
|
|
|
- >{{ scope.row[item.key] }}</span
|
|
|
+ >{{ scope.row[item.key] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
<!-- 标签字体样式 -->
|
|
@@ -201,7 +201,7 @@
|
|
|
scope.row.styleFieldObj[item.key].listClass == '' ||
|
|
|
scope.row.styleFieldObj[item.key].listClass == 'default'
|
|
|
"
|
|
|
- >{{ scope.row.styleFieldObj[item.key].dictLabel }}</span
|
|
|
+ >{{ scope.row.styleFieldObj[item.key].dictLabel }}</span
|
|
|
>
|
|
|
<el-tag
|
|
|
v-else
|
|
@@ -210,7 +210,8 @@
|
|
|
? ''
|
|
|
: scope.row.styleFieldObj[item.key].listClass
|
|
|
"
|
|
|
- >{{ scope.row.styleFieldObj[item.key].dictLabel }}</el-tag
|
|
|
+ >{{ scope.row.styleFieldObj[item.key].dictLabel }}
|
|
|
+ </el-tag
|
|
|
>
|
|
|
</template>
|
|
|
</template>
|
|
@@ -265,7 +266,8 @@
|
|
|
/>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button type="primary" @click="editConfirmHandler"
|
|
|
- >确 定</el-button
|
|
|
+ >确 定
|
|
|
+ </el-button
|
|
|
>
|
|
|
<el-button @click="kCancel">取 消</el-button>
|
|
|
</div>
|
|
@@ -419,11 +421,11 @@
|
|
|
:value="item.productNo"
|
|
|
>
|
|
|
<span class="discribe" style="float: left">{{
|
|
|
- item.productName
|
|
|
- }}</span>
|
|
|
+ item.productName
|
|
|
+ }}</span>
|
|
|
<span
|
|
|
style="float: right; color: #8492a6; font-size: 13px"
|
|
|
- >{{ item.productSpecifications }}</span
|
|
|
+ >{{ item.productSpecifications }}</span
|
|
|
>
|
|
|
</el-option>
|
|
|
</el-select>
|
|
@@ -517,8 +519,8 @@
|
|
|
:value="item.materielCode"
|
|
|
>
|
|
|
<span class="discribe" style="float: left">{{
|
|
|
- item.materieEncoding + item.materieColorNumber
|
|
|
- }}</span>
|
|
|
+ item.materieEncoding + item.materieColorNumber
|
|
|
+ }}</span>
|
|
|
<!-- <span
|
|
|
style="float: right; color: #8492a6; font-size: 13px"
|
|
|
>{{ item.materielCode }}</span
|
|
@@ -543,7 +545,8 @@
|
|
|
type="danger"
|
|
|
size="small"
|
|
|
@click="deleteProduct(scope.$index)"
|
|
|
- >删除</el-button
|
|
|
+ >删除
|
|
|
+ </el-button
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -554,7 +557,8 @@
|
|
|
style="width: 100%"
|
|
|
size="small"
|
|
|
@click="addProduct"
|
|
|
- >添加货品</el-button
|
|
|
+ >添加货品
|
|
|
+ </el-button
|
|
|
>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label-width="120px" label="合计金额(大写)">
|
|
@@ -747,7 +751,7 @@
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="detailShow = false">取 消</el-button>
|
|
|
<el-button type="primary" @click="detailPrintHandler"
|
|
|
- >打 印</el-button
|
|
|
+ >打 印</el-button
|
|
|
>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
@@ -770,7 +774,6 @@
|
|
|
<OutStock ref="outStockRef"></OutStock>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="outStockShow = false">关 闭</el-button>
|
|
|
- <!-- <el-button @click="btnSave">保 存</el-button> -->
|
|
|
<!-- <el-button type="primary" @click="btnComfirm">确 定</el-button> -->
|
|
|
</span>
|
|
|
</el-dialog>
|
|
@@ -798,31 +801,32 @@ import {
|
|
|
saleOrderList,
|
|
|
queryMaterielList,
|
|
|
} from "@/api/tablelist/commonTable";
|
|
|
-import { listData } from "@/api/system/tenant/data";
|
|
|
-import { getToken } from "@/utils/auth";
|
|
|
+import {listData} from "@/api/system/tenant/data";
|
|
|
+import {getToken} from "@/utils/auth";
|
|
|
import Queryfrom from "@/views/tablelist/commonTable/queryfrom.vue";
|
|
|
-import { camelCase, toUnderline } from "@/utils";
|
|
|
-import { inputDisableComplete } from "@/utils/other";
|
|
|
+import {camelCase, toUnderline} from "@/utils";
|
|
|
+import {inputDisableComplete} from "@/utils/other";
|
|
|
import Menu from "@/views/tablelist/commonTable/BtnMenu.vue";
|
|
|
-import { checkRole } from "@/utils/permission";
|
|
|
+import {checkRole} from "@/utils/permission";
|
|
|
import DialogTemplate from "@/views/dialogTemplate/components/index.vue";
|
|
|
import {
|
|
|
queryDropDownBoxData,
|
|
|
getSaleOrderProductionList,
|
|
|
} from "@/api/dragform/form";
|
|
|
-import { v4 as uuidv4 } from "uuid";
|
|
|
-import { mapState } from "vuex";
|
|
|
+import {v4 as uuidv4} from "uuid";
|
|
|
+import {mapState} from "vuex";
|
|
|
import moment from "moment";
|
|
|
import Deliver from "@/views/orderMange/components/dialogForm/Deliver.vue";
|
|
|
import OutBound from "@/views/orderMange/components/dialogForm/OutBound.vue";
|
|
|
import outBoundPrint from "@/utils/print/outBoundPrint";
|
|
|
-import { listCustomer } from "@/api/system/customer";
|
|
|
+import {listCustomer} from "@/api/system/customer";
|
|
|
import OutStock from "@/views/orderMange/components/dialogForm/OutStock.vue";
|
|
|
-import { numToCapital } from "@/utils/other";
|
|
|
+import {numToCapital} from "@/utils/other";
|
|
|
+
|
|
|
export default {
|
|
|
name: "listInfo",
|
|
|
dicts: ["payment_method", "direction_of_twist"],
|
|
|
- components: { Queryfrom, Menu, DialogTemplate, Deliver, OutBound, OutStock },
|
|
|
+ components: {Queryfrom, Menu, DialogTemplate, Deliver, OutBound, OutStock},
|
|
|
data() {
|
|
|
return {
|
|
|
totalMoney: "", //总金额 小写
|
|
@@ -1015,7 +1019,7 @@ export default {
|
|
|
// 是否更新已经存在的数据
|
|
|
updateSupport: 0,
|
|
|
// 设置上传的请求头部
|
|
|
- headers: { Authorization: "Bearer " + getToken() },
|
|
|
+ headers: {Authorization: "Bearer " + getToken()},
|
|
|
// 上传的地址
|
|
|
url: process.env.VUE_APP_BASE_API1 + "common/uploadData",
|
|
|
},
|
|
@@ -1112,6 +1116,7 @@ export default {
|
|
|
}),
|
|
|
},
|
|
|
methods: {
|
|
|
+
|
|
|
// 自定义筛选方法
|
|
|
mySelectFilter(value, row) {
|
|
|
console.log(value);
|
|
@@ -1235,7 +1240,7 @@ export default {
|
|
|
},
|
|
|
// 自定义的小计计算方法
|
|
|
getSummaries(param) {
|
|
|
- const { columns, data } = param;
|
|
|
+ const {columns, data} = param;
|
|
|
console.log(columns, data);
|
|
|
const sums = [];
|
|
|
columns.forEach((column, index) => {
|
|
@@ -1299,7 +1304,7 @@ export default {
|
|
|
// 自定义校验规则
|
|
|
validateTableField(rule, value, callback) {
|
|
|
console.log("校验规则", rule, value);
|
|
|
- let { message, field } = rule;
|
|
|
+ let {message, field} = rule;
|
|
|
let index = field.split("-")[1],
|
|
|
fieldName = field.split("-")[0];
|
|
|
console.log(
|
|
@@ -1400,7 +1405,7 @@ export default {
|
|
|
// let res = await queryDropDownBoxData(payLoad);
|
|
|
|
|
|
// 新的获取客户选项数据的接口
|
|
|
- let res = await listCustomer({ isEnablePaging: false });
|
|
|
+ let res = await listCustomer({isEnablePaging: false});
|
|
|
if (res.code == 200) {
|
|
|
// let { customer } = res.data.resultMap;
|
|
|
// this.allProductionOptions = production || [];
|
|
@@ -1462,7 +1467,7 @@ export default {
|
|
|
let res = await queryDropDownBoxData(payLoad);
|
|
|
if (res.code == 200) {
|
|
|
console.log(res.data.resultMap);
|
|
|
- let { materiel } = res.data.resultMap;
|
|
|
+ let {materiel} = res.data.resultMap;
|
|
|
this.sliceTypeOptions = materiel || [];
|
|
|
} else {
|
|
|
throw Error("获取下拉框数据失败");
|
|
@@ -1476,7 +1481,7 @@ export default {
|
|
|
getRowKey(row) {
|
|
|
return row[
|
|
|
camelCase(this.tableName + "_" + this.templateInfo.template?.primaryKey)
|
|
|
- ];
|
|
|
+ ];
|
|
|
},
|
|
|
/** 查询列表 */
|
|
|
getList(queryParams, orderType = 0) {
|
|
@@ -1484,7 +1489,7 @@ export default {
|
|
|
// 序列化当前查询参数列表
|
|
|
queryParams && (this.queryParams.queryMap = queryParams.queryMap);
|
|
|
// 获取当前表单结构信息
|
|
|
- dragTableInfo({ queryMap: { tableKey: this.tableKey } })
|
|
|
+ dragTableInfo({queryMap: {tableKey: this.tableKey}})
|
|
|
.then((res) => {
|
|
|
// 得到当前模版信息 --- sql columns queryWhere
|
|
|
this.templateInfo = res.data.resultMap;
|
|
@@ -1879,14 +1884,14 @@ export default {
|
|
|
saleProductNo: this.productIds,
|
|
|
},
|
|
|
};
|
|
|
- let delRes = { code: 200 };
|
|
|
+ let delRes = {code: 200};
|
|
|
if (this.productIds.length) {
|
|
|
delRes = await delTableData(deletPayload); //删除旧数据
|
|
|
}
|
|
|
|
|
|
let updateSaleRes = await batchEdit(saleData);
|
|
|
let updateCraftRes = await batchEdit(craftData);
|
|
|
- let addProductRes = { code: 200 };
|
|
|
+ let addProductRes = {code: 200};
|
|
|
if (productData.addListMap.length) {
|
|
|
addProductRes = await addTableData(productData);
|
|
|
}
|
|
@@ -1909,7 +1914,7 @@ export default {
|
|
|
craftData.addListMap = [craftValue];
|
|
|
let saleRes = await addTableData(saleData);
|
|
|
let craftRes = await addTableData(craftData);
|
|
|
- let productRes = { code: 200 };
|
|
|
+ let productRes = {code: 200};
|
|
|
if (productData.addListMap.length) {
|
|
|
productRes = await addTableData(productData);
|
|
|
}
|
|
@@ -1937,7 +1942,7 @@ export default {
|
|
|
// 审计 编辑回调
|
|
|
async handleEdit(index, row) {
|
|
|
console.log(row);
|
|
|
- let { saleOrderSaleNo } = row;
|
|
|
+ let {saleOrderSaleNo} = row;
|
|
|
try {
|
|
|
let payLoad = [
|
|
|
{
|
|
@@ -1968,17 +1973,17 @@ export default {
|
|
|
let res = await queryDropDownBoxData(payLoad);
|
|
|
if (res.code == 200) {
|
|
|
this.isEdit = true;
|
|
|
- let { sale_craft, sale_order, sale_products } = res.data.resultMap;
|
|
|
+ let {sale_craft, sale_order, sale_products} = res.data.resultMap;
|
|
|
|
|
|
Object.assign(this.formData, {
|
|
|
...sale_craft[0],
|
|
|
...sale_order[0],
|
|
|
});
|
|
|
- let { saleDate, saleOrderEstimatedTime, deliveryDate } =
|
|
|
+ let {saleDate, saleOrderEstimatedTime, deliveryDate} =
|
|
|
sale_order[0];
|
|
|
saleDate && (this.formData.saleDate = new Date(saleDate));
|
|
|
saleOrderEstimatedTime &&
|
|
|
- (this.formData.saleOrderEstimatedTime = saleOrderEstimatedTime);
|
|
|
+ (this.formData.saleOrderEstimatedTime = saleOrderEstimatedTime);
|
|
|
deliveryDate && (this.formData.deliveryDate = new Date(deliveryDate));
|
|
|
|
|
|
this.productIds = sale_products.map((item) => item.saleProductNo);
|
|
@@ -2052,7 +2057,7 @@ export default {
|
|
|
},
|
|
|
// 计算金额
|
|
|
computedPrice(row) {
|
|
|
- let { productNumber, productUnitPrice } = row;
|
|
|
+ let {productNumber, productUnitPrice} = row;
|
|
|
console.log(
|
|
|
"productNumber, productUnitPrice",
|
|
|
productNumber,
|
|
@@ -2136,9 +2141,9 @@ export default {
|
|
|
this.$refs.mychild.pageList(
|
|
|
row == undefined
|
|
|
? {
|
|
|
- limit: this.queryParams.pageSize,
|
|
|
- page: this.queryParams.pageNum,
|
|
|
- }
|
|
|
+ limit: this.queryParams.pageSize,
|
|
|
+ page: this.queryParams.pageNum,
|
|
|
+ }
|
|
|
: row
|
|
|
);
|
|
|
},
|
|
@@ -2177,7 +2182,7 @@ export default {
|
|
|
handleAdd(row) {
|
|
|
// this.reset();
|
|
|
this.defaultValue = {};
|
|
|
- getInfoBySqlKey(this.templateInfo.template.sqlKey).then(({ data }) => {
|
|
|
+ getInfoBySqlKey(this.templateInfo.template.sqlKey).then(({data}) => {
|
|
|
if (!data || !data.dfVueTemplate) {
|
|
|
this.jsonData = false;
|
|
|
this.$message.error("当前表格未绑定表单!");
|
|
@@ -2273,7 +2278,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
res.data.template.dfFormSql &&
|
|
|
- (this.dynamicData = JSON.parse(res.data.template.dfFormSql));
|
|
|
+ (this.dynamicData = JSON.parse(res.data.template.dfFormSql));
|
|
|
this.addRealFieldName(res.data.result.resultMap);
|
|
|
let resultMap = res.data.result.resultMap;
|
|
|
|
|
@@ -2462,7 +2467,8 @@ export default {
|
|
|
this.$refs.mychild.pageList();
|
|
|
this.$modal.msgSuccess("删除成功");
|
|
|
})
|
|
|
- .catch(() => {});
|
|
|
+ .catch(() => {
|
|
|
+ });
|
|
|
},
|
|
|
// 批量删除接口
|
|
|
handleBatchDelete() {
|
|
@@ -2502,7 +2508,8 @@ export default {
|
|
|
this.$refs.mychild.pageList();
|
|
|
this.$modal.msgSuccess("删除成功");
|
|
|
})
|
|
|
- .catch(() => {});
|
|
|
+ .catch(() => {
|
|
|
+ });
|
|
|
},
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|
|
@@ -2539,7 +2546,7 @@ export default {
|
|
|
importTemplate() {
|
|
|
this.download(
|
|
|
process.env.VUE_APP_BASE_API1 +
|
|
|
- `common/exportTemplate?tableName=${this.tableName}&sqlkey=${this.templateInfo.template.sqlKey}`,
|
|
|
+ `common/exportTemplate?tableName=${this.tableName}&sqlkey=${this.templateInfo.template.sqlKey}`,
|
|
|
{},
|
|
|
`下载模版名称${new Date().getTime()}.xlsx`
|
|
|
);
|
|
@@ -2555,10 +2562,10 @@ export default {
|
|
|
this.$refs.upload.clearFiles();
|
|
|
this.$alert(
|
|
|
"<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" +
|
|
|
- response.msg +
|
|
|
- "</div>",
|
|
|
+ response.msg +
|
|
|
+ "</div>",
|
|
|
"导入结果",
|
|
|
- { dangerouslyUseHTMLString: true }
|
|
|
+ {dangerouslyUseHTMLString: true}
|
|
|
);
|
|
|
this.$refs.mychild.pageList({
|
|
|
limit: this.queryParams.pageSize,
|
|
@@ -2587,7 +2594,7 @@ export default {
|
|
|
// 绑定弹窗Dialog确定按钮
|
|
|
async btnComfirm() {
|
|
|
let res = await this.$refs.deliverRef.getAllData();
|
|
|
- let { flag, isEdit, data } = res;
|
|
|
+ let {flag, isEdit, data} = res;
|
|
|
if (flag) {
|
|
|
if (isEdit) {
|
|
|
//编辑
|
|
@@ -2654,7 +2661,7 @@ export default {
|
|
|
item.fieldValue
|
|
|
? item.fieldValue
|
|
|
: this.currentRow[
|
|
|
- camelCase(item.fieldName.replace(".", "_"))
|
|
|
+ camelCase(item.fieldName.replace(".", "_"))
|
|
|
];
|
|
|
});
|
|
|
conditionData.forEach((item) => {
|
|
@@ -2662,7 +2669,7 @@ export default {
|
|
|
item.fieldValue
|
|
|
? item.fieldValue
|
|
|
: this.currentRow[
|
|
|
- camelCase(item.fieldName.replace(".", "_"))
|
|
|
+ camelCase(item.fieldName.replace(".", "_"))
|
|
|
];
|
|
|
});
|
|
|
}
|
|
@@ -2758,7 +2765,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
// 判断是否生效行样式
|
|
|
- cellStyle({ row, column, rowIndex, columnIndex }) {
|
|
|
+ cellStyle({row, column, rowIndex, columnIndex}) {
|
|
|
let rowStyleList = this.styleList.filter((item) => item.styleType == 0);
|
|
|
if (!rowStyleList.length) return "";
|
|
|
let mainTableName = this.templateInfo.querySql.tableAlias; //主表名
|
|
@@ -2881,7 +2888,7 @@ export default {
|
|
|
|
|
|
// 内链页面跳转
|
|
|
routerHandler(btnData, type) {
|
|
|
- let { url, commonFieldData } = JSON.parse(btnData.btnParams);
|
|
|
+ let {url, commonFieldData} = JSON.parse(btnData.btnParams);
|
|
|
let tempArr = [];
|
|
|
if (commonFieldData) {
|
|
|
let queryArr = JSON.parse(commonFieldData);
|
|
@@ -2913,7 +2920,7 @@ export default {
|
|
|
},
|
|
|
// 切片类型改变回调
|
|
|
sliceTypeChangeHandler(row) {
|
|
|
- let { sliceType } = row;
|
|
|
+ let {sliceType} = row;
|
|
|
if (sliceType) {
|
|
|
row.sliceTypeLabel = this.sliceTypeOptions.find(
|
|
|
(item) => item.materielCode == sliceType
|
|
@@ -2922,7 +2929,7 @@ export default {
|
|
|
},
|
|
|
// 色号改变回调
|
|
|
colourNumberChangeHandler(row) {
|
|
|
- let { colourNumber } = row;
|
|
|
+ let {colourNumber} = row;
|
|
|
if (colourNumber) {
|
|
|
let target = this.colourNumberOptions.find(
|
|
|
(item) => item.materielCode == colourNumber
|
|
@@ -2954,7 +2961,7 @@ export default {
|
|
|
},
|
|
|
// 获取详情html字符串
|
|
|
async getDetailTableString(row) {
|
|
|
- let { saleOrderSaleNo } = row;
|
|
|
+ let {saleOrderSaleNo} = row;
|
|
|
let payLoad = [
|
|
|
{
|
|
|
basicMap: {
|
|
@@ -2984,7 +2991,7 @@ export default {
|
|
|
let res = await queryDropDownBoxData(payLoad);
|
|
|
if (res.code == 200) {
|
|
|
console.log(res);
|
|
|
- let { sale_craft, sale_order, sale_products } = res.data.resultMap;
|
|
|
+ let {sale_craft, sale_order, sale_products} = res.data.resultMap;
|
|
|
let {
|
|
|
//订单表数据
|
|
|
saleNo, //合同号
|
|
@@ -3023,7 +3030,7 @@ export default {
|
|
|
craftOther, //其它工艺要求
|
|
|
craftMark, //包装/贴唛
|
|
|
shippingMethod, //运输方式
|
|
|
- } = { ...sale_craft[0], ...sale_order[0] };
|
|
|
+ } = {...sale_craft[0], ...sale_order[0]};
|
|
|
let customData = this.customerOptions.find(
|
|
|
(item) => item.customNo == saleCustomNo
|
|
|
);
|
|
@@ -3043,9 +3050,9 @@ export default {
|
|
|
<tr>
|
|
|
<td width="600px" colspan="4">合同号:${saleNo}</td>
|
|
|
<td width="600px" colspan="4">日期:${saleDate.replace(
|
|
|
- "T",
|
|
|
- " "
|
|
|
- )}</td>
|
|
|
+ "T",
|
|
|
+ " "
|
|
|
+ )}</td>
|
|
|
</tr>
|
|
|
<tr align="center">
|
|
|
<td width="300px" colspan="2">客户名称:</td>
|
|
@@ -3062,9 +3069,9 @@ export default {
|
|
|
<tr align="center">
|
|
|
<td width="300px" colspan="2">预计下单时间:</td>
|
|
|
<td colspan="1">${saleOrderEstimatedTime.replace(
|
|
|
- "T",
|
|
|
- " "
|
|
|
- )}</td>
|
|
|
+ "T",
|
|
|
+ " "
|
|
|
+ )}</td>
|
|
|
<td colspan="1">交货周期:</td>
|
|
|
<td >${saleLeadTime}</td>
|
|
|
<td colspan="2">交货日期:</td>
|
|
@@ -3182,9 +3189,9 @@ export default {
|
|
|
<td colspan="2">${salesman}</td>
|
|
|
<td colspan="2">财务部:</td>
|
|
|
<td colspan="2">${finance}</td>
|
|
|
-
|
|
|
+
|
|
|
</tr>
|
|
|
-
|
|
|
+
|
|
|
<tr align="center">
|
|
|
<td colspan="2">业务主管:</td>
|
|
|
<td colspan="2">${saleApprover}</td>
|
|
@@ -3252,7 +3259,8 @@ export default {
|
|
|
} else {
|
|
|
this.$message.error(res.msg);
|
|
|
}
|
|
|
- } catch (error) {}
|
|
|
+ } catch (error) {
|
|
|
+ }
|
|
|
},
|
|
|
// 发货回调
|
|
|
myDeliverHandler(row) {
|
|
@@ -3269,10 +3277,9 @@ export default {
|
|
|
this.$refs.outStockRef.getOutStockDetail(row, false);
|
|
|
});
|
|
|
},
|
|
|
-
|
|
|
// 操作列回调
|
|
|
excuteHandler(btnData, row) {
|
|
|
- let { btnType, btnParams, btnFormType } = btnData;
|
|
|
+ let {btnType, btnParams, btnFormType} = btnData;
|
|
|
this.currentBtnData = btnData;
|
|
|
this.currentRow = JSON.parse(JSON.stringify(row));
|
|
|
console.log("btnData", btnType, btnData, row);
|
|
@@ -3356,7 +3363,7 @@ export default {
|
|
|
item.fieldValue
|
|
|
? item.fieldValue
|
|
|
: this.currentRow[
|
|
|
- camelCase(item.fieldName.replace(".", "_"))
|
|
|
+ camelCase(item.fieldName.replace(".", "_"))
|
|
|
];
|
|
|
});
|
|
|
}
|
|
@@ -3379,7 +3386,8 @@ export default {
|
|
|
this.$refs.mychild.pageList();
|
|
|
// this.$modal.msgSuccess("操作成功");
|
|
|
})
|
|
|
- .catch(() => {});
|
|
|
+ .catch(() => {
|
|
|
+ });
|
|
|
},
|
|
|
|
|
|
// k-form-build表单变化回调
|