Commit dbe3442f authored by arvin's avatar arvin

三期出库参数调整

parent 4f60e698
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
'extMaterialId': r.jobResponse.jobOrder.extMaterialId, 'extMaterialId': r.jobResponse.jobOrder.extMaterialId,
'extMaterialIdType': r.jobResponse.jobOrder.extMaterialIdType, 'extMaterialIdType': r.jobResponse.jobOrder.extMaterialIdType,
'arrivalDate': r.jobResponse.jobOrder.arrivalDate, 'arrivalDate': r.jobResponse.jobOrder.arrivalDate,
'reqAmount': r.jobResponse.jobOrder.reqAmount, 'reqAmount': r.usableAmount,
'airModel': r.jobResponse.jobOrder.airModel, 'airModel': r.jobResponse.jobOrder.airModel,
'sorties': r.jobResponse.jobOrder.sorties, 'sorties': r.jobResponse.jobOrder.sorties,
'manufacturer': r.jobResponse.jobOrder.manufacturer, 'manufacturer': r.jobResponse.jobOrder.manufacturer,
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
v-for="(item,i) in warehouseOptions" v-for="(item,i) in warehouseOptions"
:key="i" :key="i"
:label="item.extname" :label="item.extname"
:value="item.id + ''" :value="item.id "
/> />
</el-select> </el-select>
...@@ -70,9 +70,10 @@ export default { ...@@ -70,9 +70,10 @@ export default {
} }
const _val = _get(this.form, this.itemObj.linkageAttr) const _val = _get(this.form, this.itemObj.linkageAttr)
if (_val !== this.linkageValue) { if (_val !== this.linkageValue) {
const old = this.linkageValue
this.linkageValue = _val this.linkageValue = _val
this.linkageValue && this.searchApi() this.linkageValue && this.searchApi()
if (this.linkageValue) { if (old) {
this.cloneValue = '' this.cloneValue = ''
this.update() this.update()
} }
......
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