Commit 492a00df authored by dragondean@qq.com's avatar dragondean@qq.com

Merge remote-tracking branch 'origin/dev' into dev

parents 0f2a06fa 0c89be3c
...@@ -322,8 +322,8 @@ export default { ...@@ -322,8 +322,8 @@ export default {
}, },
/** 取消 */ /** 取消 */
cancel() { cancel(type) {
this.$emit("closeStart", "submit"); this.$emit('closeDialog', type)
}, },
/* 关闭弹窗 */ /* 关闭弹窗 */
closeDialog(type) { closeDialog(type) {
...@@ -361,7 +361,7 @@ export default { ...@@ -361,7 +361,7 @@ export default {
shipmentId: shipmentObj.id, shipmentId: shipmentObj.id,
}).then((res) => { }).then((res) => {
serviceMsg(res, this).then(() => { serviceMsg(res, this).then(() => {
this.cancel(); this.cancel("submit");
}); });
}); });
}, },
......
...@@ -80,8 +80,6 @@ export default { ...@@ -80,8 +80,6 @@ export default {
name: "packaging-type", name: "packaging-type",
components: {Template, WeightSelect, CurrencySelect}, components: {Template, WeightSelect, CurrencySelect},
created() { created() {
console.log(this.getDictDatas(this.DICT_TYPE.AIR_CUSTOM_CLEARANCE),'123')
getCurrencyPage(this.params).then(res => this.currencyList = res.data.list) getCurrencyPage(this.params).then(res => this.currencyList = res.data.list)
getUnitList().then(res => this.unitList = res.data) getUnitList().then(res => this.unitList = res.data)
}, },
...@@ -105,11 +103,14 @@ export default { ...@@ -105,11 +103,14 @@ export default {
num = this.getDictDatas(this.DICT_TYPE. AIR_COMMODITY_CUSTOM_CLEARANCE)[0]?.value num = this.getDictDatas(this.DICT_TYPE. AIR_COMMODITY_CUSTOM_CLEARANCE)[0]?.value
} }
return +num return num
} }
}, },
mounted() { mounted() {
this.value1 = this.value this.value1 = this.value
if(!this.value1.airWeightLimit){
this.value1.airWeightLimit = this.screenCom
}
this.$nextTick(()=>{ this.$nextTick(()=>{
if(this.value1[this.keyArr] && this.value1[this.keyArr].length === 0){ if(this.value1[this.keyArr] && this.value1[this.keyArr].length === 0){
this.addInterval() this.addInterval()
......
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
<el-descriptions-item :label="$t('商品特性')">{{productAttr}}</el-descriptions-item> <el-descriptions-item :label="$t('商品特性')">{{productAttr}}</el-descriptions-item>
<el-descriptions-item :label="$t('用途')"> <el-descriptions-item :label="$t('用途')">
<div v-if="orderItem.usageIds"> <div v-if="orderItem.usageIds">
<div v-for="(item,index) in row.usageIds.split(',')"> <div v-for="(item,index) in orderItem.usageIds.split(',')">
<dict-tag :type="DICT_TYPE.OREER_ITEM_USAGE" :value="item" /> <dict-tag :type="DICT_TYPE.OREER_ITEM_USAGE" :value="item" />
<span v-if="(index+1)!=row.usageIds.split(',').length">,</span> <span v-if="(index+1)!=orderItem.usageIds.split(',').length">,</span>
</div> </div>
</div> </div>
</el-descriptions-item> </el-descriptions-item>
...@@ -163,12 +163,14 @@ ...@@ -163,12 +163,14 @@
</div> </div>
</el-dialog> </el-dialog>
<el-dialog :title="$t('箱明细')" :visible.sync="boxShow" :before-close="closeBox" :close-on-click-modal="false" width="800px"> <el-dialog :title="$t('箱明细')" :visible.sync="boxShow" :before-close="closeBox" :close-on-click-modal="false" width="800px">
<el-form>
<WarehouseRecordDetailItem <WarehouseRecordDetailItem
v-for="(item, index) in boxData" v-for="(item, index) in boxData"
:key="index" v-model="boxData[index]" :key="index" v-model="boxData[index]"
:index="index" :attr-list="attrList" :index="index" :attr-list="attrList"
:readonly="true" :readonly="true"
/> />
</el-form>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
......
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