|
@@ -8,9 +8,9 @@
|
|
|
</div>
|
|
|
<div class="add-customer-btn">
|
|
|
<el-button class="el-button--small-yh" :disabled="isEditButton" style="margin-left: 6px;"
|
|
|
- type="primary" size="small" v-if="editButton && isSaveBtn" @click="confirmEditing">编 辑
|
|
|
+ type="primary" size="small" v-if="editButton" @click="confirmEditing">编 辑
|
|
|
</el-button>
|
|
|
- <el-button v-else class="el-button--small-yh" style="margin-left: 6px;" type="primary" size="small"
|
|
|
+ <el-button class="el-button--small-yh" style="margin-left: 6px;" type="primary" size="small"
|
|
|
:disabled="isSaveBtn" @click="editCustomer">保 存
|
|
|
</el-button>
|
|
|
<el-button class="el-button--small-yh" style="margin-left: 6px;" :type="buttonColor" size="small"
|
|
@@ -738,7 +738,15 @@ export default {
|
|
|
},
|
|
|
dicUrl: "/api/blade-sales-part/stockDesc/dotList",
|
|
|
overHidden: true,
|
|
|
- }, {
|
|
|
+ },{
|
|
|
+ label: '小计',
|
|
|
+ prop: 'subTotalMoney',
|
|
|
+ overHidden: true,
|
|
|
+ width: 100,
|
|
|
+ disabled: true,
|
|
|
+ editDisplay: false,
|
|
|
+ addDisplay: false
|
|
|
+ }, {
|
|
|
label: '轮胎编码',
|
|
|
prop: 'goodsNo',
|
|
|
overHidden: true,
|
|
@@ -801,15 +809,7 @@ export default {
|
|
|
// overHidden: true,
|
|
|
// width: 100
|
|
|
// },
|
|
|
- {
|
|
|
- label: '小计',
|
|
|
- prop: 'subTotalMoney',
|
|
|
- overHidden: true,
|
|
|
- width: 100,
|
|
|
- disabled: true,
|
|
|
- editDisplay: false,
|
|
|
- addDisplay: false
|
|
|
- },
|
|
|
+
|
|
|
// {
|
|
|
// label: '返利',
|
|
|
// prop: 'thisAmount',
|
|
@@ -1717,7 +1717,7 @@ export default {
|
|
|
this.isDisabled = true
|
|
|
// this.findObject(this.optionForm,'disabled') = true
|
|
|
// this.findObject(this.optionContactsBack,'disabled') = true
|
|
|
- this.$message.success("生成出库任务成功");
|
|
|
+ this.$message.success("生成入库任务成功");
|
|
|
this.isApplySettlement = false
|
|
|
loading.close();
|
|
|
|
|
@@ -1763,7 +1763,7 @@ export default {
|
|
|
this.buttonText = '生成任务';
|
|
|
// 将按钮颜色还原为success
|
|
|
this.buttonColor = 'success';
|
|
|
- this.$message.success("撤销出库成功");
|
|
|
+ this.$message.success("撤销入库成功");
|
|
|
this.refresh(res.data.data.id)
|
|
|
this.isApplySettlement = false
|
|
|
loading.close();
|
|
@@ -1800,7 +1800,6 @@ export default {
|
|
|
},
|
|
|
//修改提交触发
|
|
|
editCustomer() {
|
|
|
- this.mingxibaocun = true
|
|
|
this.$refs["form"].validate((valid, done) => {
|
|
|
done();
|
|
|
let picihao = false
|
|
@@ -1812,13 +1811,14 @@ export default {
|
|
|
}else {
|
|
|
if(this.form.orderItemsList[i].whether == '1'){
|
|
|
if(this.form.orderItemsList[i].dot){}else {
|
|
|
- this.$message.success(`采购明细序号${i+1}的批次号不能为空`);
|
|
|
+ this.$message.warning(`采购明细序号${Number(i)+1}的批次号不能为空`);
|
|
|
picihao = true
|
|
|
}
|
|
|
}else {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ this.mingxibaocun = true
|
|
|
if (picihao) {
|
|
|
return
|
|
|
}
|