Commit fde723ed authored by renjintao's avatar renjintao

addAccessory

parent 9e16d7c1
......@@ -30,12 +30,12 @@
/>
</template>
<template slot-scope="{ row, index }" slot="remarks">
<Input type="text" v-model="row.remarks" @on-blur="inputChange1(row,index)" />
<Input type="text" v-model="row.remarks" @on-blur="inputChange1(i,row,index)" />
</template>
</Table>
</div>
<FooterToolbar v-show="footerToolbar">
<FooterToolbar v-show="footerToolbar" class="ftball">
<!--<div class="tip">已选{{selectItems.length}}项</div>-->
<Form :model="orderForm" :label-width="110" ref="formValidate" :rules="ruleValidate">
<FormItem label=" " prop="QuotationFinishDate">
......@@ -125,7 +125,7 @@ export default {
QuotationFinishDate: [
{
required: true,
message: "请选择齐套日期",
message: "_",
trigger: "change",
},
],
......@@ -217,7 +217,7 @@ export default {
});
} else if (this.curArr == 4) {
//多条取消
this.datas[v].suport.forEach((ele, index, array) => {
this.datas[v].suport.forEach((ele, index, array) => {
ele._checked = false;
this.$set(this.datas[v].suport, index, ele);
});
......@@ -298,18 +298,10 @@ export default {
},
inputChange1(i, row, index) {
//输入数量
// if (row.count != 0) {
// row._checked = true;
// } else {
// row._checked = false;
// }
this.$set(this.datas[i].suport, index, row);
//alert(JSON.stringify(this.datas[i].suport[index]))
},
application() {
//alert(JSON.stringify(this.datas));
//申请配套操作
this.$refs["formValidate"].validate((valid) => {
if (valid) {
let temItems = [];
......@@ -348,9 +340,9 @@ export default {
this.$Message.error("请输入申请数量");
} else {
Api.supportmainCreate(parms).then((res) => {
// alert(JSON.stringify(res));
if (res.success) {
this.$Message.success("申请成功");
this.$emit("cancel");
}
});
}
......@@ -376,3 +368,4 @@ export default {
},
};
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment