|
@@ -320,6 +320,12 @@ export default {
|
|
|
dataIndex: 'itemNumber',
|
|
|
width: 180,
|
|
|
className: 'replacecolor'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '物料成分',
|
|
|
+ dataIndex: 'materialComposition',
|
|
|
+ width: 180,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '预发货日期',
|
|
@@ -534,20 +540,12 @@ export default {
|
|
|
// 维护款号成分
|
|
|
itemNumberElement(record) {
|
|
|
this.$refs.itemNumEleModal.itemNumEleModVis = true
|
|
|
- console.log('打开维护款号成分')
|
|
|
- // queryDeclarationElements({
|
|
|
- // inventoryName: record.inventoryName,
|
|
|
- // itemNumber: record.itemNumber,
|
|
|
- // account: record.account
|
|
|
- // }).then(res => {
|
|
|
- // if (res.success) {
|
|
|
- // console.log('维护款号成分数据', res.result)
|
|
|
- // console.log('申报要素子表数据', res.result.syDeclarationElementsItemList)
|
|
|
- // this.$refs.declareElementsModal.declareElements = res.result
|
|
|
- // 子表赋值
|
|
|
- // this.$refs.declareElementsModal.declareElementsData = res.result.syDeclarationElementsItemList
|
|
|
- // }
|
|
|
- // })
|
|
|
+ shipmentQueryById({ id: record.id }).then(res => {
|
|
|
+ if (res.success) {
|
|
|
+ console.log('点击的对象', res.result)
|
|
|
+ this.$refs.itemNumEleModal.editItemNumber = res.result
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
// 详情
|