Commit 0b02bb15 authored by 邓春圆's avatar 邓春圆

重置 出运要求 适用商品

parent 8c9520e2
......@@ -3,14 +3,14 @@
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-form-item :label="$t('适用商品')" prop="idList">
<products-selector :defaultIds="form.idList" v-model="form.idList" show-all @setall="toggleAll" />
<products-selector ref="productsSelector" :defaultIds="form.idList" v-model="form.idList" show-all @setall="toggleAll" />
</el-form-item>
<el-form-item :label="$t('货柜位置')" prop="containerLocation">
<dict-selector :type="DICT_TYPE.ECW_CONTAINER_LOCATION" v-model="form.containerLocation" />
</el-form-item>
<el-form-item :label="$t('出运要求')" prop="requirements">
<el-checkbox true-label="1" v-model="form.requirements">{{$t('证书要求(支持多证书)')}}</el-checkbox>
<el-checkbox :true-label="1" :false-label="0" v-model="form.requirements">{{$t('证书要求(支持多证书)')}}</el-checkbox>
</el-form-item>
<el-form-item :label="$t('订单方数上限')" prop="square">
<el-input v-model="form.square" placeholder="" class="w-200"></el-input>
......@@ -208,7 +208,7 @@ export default {
"isAllProduct": 0,
"needBook": undefined,
"packaging": undefined,
"requirements": undefined,
"requirements": 0,
"square": undefined,
"materialType": undefined,
priceStepClearanceList:[],
......@@ -219,6 +219,8 @@ export default {
};
this.attrIds = []
this.resetForm("form");
this.lineNum = 0;
this.$refs.productsSelector.empty()
},
verify(row){
return (row.startNum !== '' && row.endNum !== '' && row.clearancePrice !== '' && row.clearancePriceUnit !== '' && row.clearanceVolumeUnit !== '')
......
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