|
|
|
@ -157,7 +157,7 @@
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="24" class="el-row">
|
|
|
|
|
<el-col :span="12" class="el-col" v-if="formData.autoTag == 1">
|
|
|
|
|
<el-form-item label="独占工位库存:" prop="warnType" class="query-form-item">
|
|
|
|
|
<el-form-item label="独占工位库存:" prop="monopoly" class="query-form-item">
|
|
|
|
|
<el-select v-model="formData.monopoly" style="width: 80%" placeholder="独占工位库存" :disabled="formData.autoTag == 0" >
|
|
|
|
|
<el-option label="否" :value="0"></el-option>
|
|
|
|
|
<el-option label="是" :value="1"></el-option>
|
|
|
|
@ -397,9 +397,6 @@ export default {
|
|
|
|
|
,
|
|
|
|
|
formSubmit() {
|
|
|
|
|
this.formData.workplaceCode = this.workplaceId
|
|
|
|
|
if (this.formData.autoTag == 0) {
|
|
|
|
|
this.formData.monopoly = 0
|
|
|
|
|
}
|
|
|
|
|
if (this.upData != null) {
|
|
|
|
|
updateType(this.formData).then(res => {
|
|
|
|
|
if (res.code == 20000) {
|
|
|
|
|