1/6 产品是否属于单产品槽位

20240912_adapter
wangwei 3 months ago
parent 9964aa7850
commit f2a7108106

@ -44,6 +44,15 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col">
<el-form-item label="是否启用单品种槽位:" class="query-form-item">
<el-select v-model="formData.isSingQueue" style="width: 80%" placeholder="请选择是否启用单品种槽位"
>
<el-option label="否" :value="0"></el-option>
<el-option label="是" :value="1"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<!--<el-row :gutter="24">-->
@ -171,7 +180,8 @@ export default {
code: '',
name: '',
remark: '',
workPlaceIdFk: ''
workPlaceIdFk: '',
isSingQueue: 1
},
freightData: null,
workPlaces: [],
@ -226,6 +236,9 @@ export default {
})
},
formSubmit() {
if (this.layerList.length == 0){
return this.$message.error("请增加摆货层")
}
if(this.layerList.length > 0){
let layerData = this.layerList[this.layerList.length - 1]
if (layerData.queueNum == null || layerData.queueNum == 0){
@ -319,6 +332,7 @@ export default {
row.freightCode = this.formData.code
row.workPlaceIdFk = this.formData.workPlaceIdFk
row.remark = this.formData.remark
row.isSingQueue = this.formData.isSingQueue
this.remarkStatus = true
saveLayer(row).then(res => {
if (res.code == 20000){

Loading…
Cancel
Save