|
@@ -131,7 +131,11 @@
|
|
<el-table-column align="center" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="单位" prop="unit" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="单位" prop="unit" min-width="100" show-overflow-tooltip></el-table-column>
|
|
- <el-table-column align="center" label="单价" prop="price" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" label="单价" prop="price" min-width="100" show-overflow-tooltip>
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <el-input v-model="scope.row.price" size="small" type="number"></el-input>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column align="center" label="工程登录数量" prop="enginNum" min-width="120" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="工程登录数量" prop="enginNum" min-width="120" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="数量" prop="qty" min-width="100" show-overflow-tooltip>
|
|
<el-table-column align="center" label="数量" prop="qty" min-width="100" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -178,8 +182,8 @@
|
|
|
|
|
|
<div class="page-footer">
|
|
<div class="page-footer">
|
|
<div class="footer">
|
|
<div class="footer">
|
|
- <el-button type="primary" @click="clickSubmitForm(1)">审批通过</el-button>
|
|
|
|
- <el-button type="warning" @click="clickSubmitForm(0)">审批驳回</el-button>
|
|
|
|
|
|
+ <el-button type="primary" @click="clickSubmitForm(1)" :loading="formLoading">审批通过</el-button>
|
|
|
|
+ <el-button type="warning" @click="clickSubmitForm(0)" :loading="formLoading">审批驳回</el-button>
|
|
<el-popconfirm title="确定关闭吗?" @onConfirm="goBack" style="margin-left: 10px;">
|
|
<el-popconfirm title="确定关闭吗?" @onConfirm="goBack" style="margin-left: 10px;">
|
|
<el-button slot="reference">关 闭</el-button>
|
|
<el-button slot="reference">关 闭</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
@@ -215,12 +219,13 @@ export default {
|
|
userName: JSON.parse(localStorage.getItem("supply_user")).nickName,
|
|
userName: JSON.parse(localStorage.getItem("supply_user")).nickName,
|
|
detailData: {},
|
|
detailData: {},
|
|
|
|
|
|
- formLoading: false,
|
|
|
|
examineForm: {
|
|
examineForm: {
|
|
remark: '',
|
|
remark: '',
|
|
},
|
|
},
|
|
|
|
|
|
salesTypeList: [],
|
|
salesTypeList: [],
|
|
|
|
+
|
|
|
|
+ formLoading: false,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
@@ -282,10 +287,13 @@ export default {
|
|
params.saleTypeId = this.detailData.saleTypeId;
|
|
params.saleTypeId = this.detailData.saleTypeId;
|
|
params.saleTypeCode = saleTypeItem.saleCode;
|
|
params.saleTypeCode = saleTypeItem.saleCode;
|
|
params.saleTypeName = saleTypeItem.saleName;
|
|
params.saleTypeName = saleTypeItem.saleName;
|
|
|
|
+ this.formLoading = true;
|
|
examineHome(params).then(res => {
|
|
examineHome(params).then(res => {
|
|
this.$successMsg();
|
|
this.$successMsg();
|
|
this.goBack();
|
|
this.goBack();
|
|
this.$parent.getList();
|
|
this.$parent.getList();
|
|
|
|
+ }).finally(res => {
|
|
|
|
+ this.formLoading = false;
|
|
})
|
|
})
|
|
}).catch(() => {});
|
|
}).catch(() => {});
|
|
},
|
|
},
|