1
This commit is contained in:
parent
77a6b04432
commit
0706a48664
|
|
@ -46,7 +46,6 @@
|
||||||
:min="1"
|
:min="1"
|
||||||
controls-position="right"
|
controls-position="right"
|
||||||
placeholder="请输入数量"
|
placeholder="请输入数量"
|
||||||
:max="scope.row.remainNum"
|
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
@ -94,7 +93,6 @@ export default {
|
||||||
goodsId: '',
|
goodsId: '',
|
||||||
goodsDesc: '',
|
goodsDesc: '',
|
||||||
goodsNum: 1, // 统一使用 goodsNum
|
goodsNum: 1, // 统一使用 goodsNum
|
||||||
remainNum: 0
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -136,7 +134,6 @@ export default {
|
||||||
// this.$set(this.tableData[index], 'goodsId', item.goodsId);
|
// this.$set(this.tableData[index], 'goodsId', item.goodsId);
|
||||||
// this.$set(this.tableData[index], 'goodsDesc', item.goodsDesc);
|
// this.$set(this.tableData[index], 'goodsDesc', item.goodsDesc);
|
||||||
// this.$set(this.tableData[index], 'goodsName', item.goodsName);
|
// this.$set(this.tableData[index], 'goodsName', item.goodsName);
|
||||||
// this.$set(this.tableData[index], 'remainNum', item.remainNum);
|
|
||||||
// },
|
// },
|
||||||
|
|
||||||
// 新增行
|
// 新增行
|
||||||
|
|
@ -208,8 +205,7 @@ export default {
|
||||||
goodsId: '',
|
goodsId: '',
|
||||||
goodsDesc: '',
|
goodsDesc: '',
|
||||||
goodsCode: '',
|
goodsCode: '',
|
||||||
goodsNum: 1,
|
goodsNum: 1
|
||||||
remainNum: 0
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -165,12 +165,15 @@
|
||||||
<el-form-item label="物料单位" prop="unit">
|
<el-form-item label="物料单位" prop="unit">
|
||||||
<el-input v-model="form.unit" placeholder="请输入物料单位" />
|
<el-input v-model="form.unit" placeholder="请输入物料单位" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="预留1" prop="spare1">
|
<el-form-item label="备注" prop="remark">
|
||||||
|
<el-input v-model="form.remark" placeholder="请输入物料单位" />
|
||||||
|
</el-form-item>
|
||||||
|
<!-- <el-form-item label="预留1" prop="spare1">
|
||||||
<el-input v-model="form.spare1" placeholder="请输入预留1" />
|
<el-input v-model="form.spare1" placeholder="请输入预留1" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="预留2" prop="spare2">
|
<el-form-item label="预留2" prop="spare2">
|
||||||
<el-input v-model="form.spare2" placeholder="请输入预留2" />
|
<el-input v-model="form.spare2" placeholder="请输入预留2" />
|
||||||
</el-form-item>
|
</el-form-item> -->
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||||
|
|
@ -343,10 +346,11 @@ export default {
|
||||||
console.log("data",data);
|
console.log("data",data);
|
||||||
data.forEach((element) => {
|
data.forEach((element) => {
|
||||||
form.push({
|
form.push({
|
||||||
orderType: 6,
|
orderType: 9,
|
||||||
goodsId: element.goodsId,
|
goodsId: element.goodsId,
|
||||||
goodsNum: element.goodsNum,
|
goodsNum: element.goodsNum,
|
||||||
goodsDesc: element.goodsDesc
|
goodsDesc: element.goodsDesc,
|
||||||
|
goodsCode: element.goodsCode,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user