Commit 9cffd210 by 张立顺

feat 功能开发

1 parent ccd0c276
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
</div> </div>
<div class="productCode" v-if="goodsInfo.upgradeGoodsList && goodsInfo.upgradeGoodsList.length > 0">产品编码:{{ <div class="productCode" v-if="goodsInfo.upgradeGoodsList && goodsInfo.upgradeGoodsList.length > 0">产品编码:{{
goodsInfo.upgradeGoodsList[selectIndex].type }}</div> goodsInfo.upgradeGoodsList[selectIndex].type }}</div>
<div class="productCode" v-if="goodsInfo.upgradeGoodsList && goodsInfo.upgradeGoodsList.length > 0">产品ID:{{ currentProductId }}</div>
<!--选择商品规格多规格 v-if="!isSkuArguments"--> <!--选择商品规格多规格 v-if="!isSkuArguments"-->
<div class="content fix-header fix-bottom" v-if="goodsInfo.specificationType == 2"> <div class="content fix-header fix-bottom" v-if="goodsInfo.specificationType == 2">
...@@ -654,6 +655,9 @@ export default { ...@@ -654,6 +655,9 @@ export default {
} }
return this.goodsInfo.upgradeGoodsList?.[this.selectIndex] || this.upgradeGoodsInfo return this.goodsInfo.upgradeGoodsList?.[this.selectIndex] || this.upgradeGoodsInfo
}, },
currentProductId() {
return this.selectedUpgradeGoods?.commodityCode || '-'
},
carBandUpgradeGoodsInfo() { carBandUpgradeGoodsInfo() {
const selected = this.selectedUpgradeGoods || {} const selected = this.selectedUpgradeGoods || {}
return { return {
......
...@@ -117,6 +117,12 @@ export default { ...@@ -117,6 +117,12 @@ export default {
line: 1 line: 1
}, },
{ {
label: '产品ID',
prop: 'upgradeGoodsCommodityCode',
width: 150,
formatter: cellValue => cellValue.upgradeGoodsCommodityCode || '-'
},
{
label: '供应商名称', label: '供应商名称',
prop: 'thirdPartyName', prop: 'thirdPartyName',
width: 110 width: 110
......
...@@ -101,6 +101,12 @@ export default { ...@@ -101,6 +101,12 @@ export default {
line: 1 line: 1
}, },
{ {
label: '产品ID',
prop: 'upgradeGoodsCommodityCode',
width: 150,
formatter: cellValue => cellValue.upgradeGoodsCommodityCode || '-'
},
{
label: '供应商名称', label: '供应商名称',
prop: 'thirdPartyName', prop: 'thirdPartyName',
width: 110 width: 110
......
...@@ -190,6 +190,12 @@ export default { ...@@ -190,6 +190,12 @@ export default {
line: 1 line: 1
}, },
{ {
label: '产品ID',
prop: 'upgradeGoodsCommodityCode',
width: 150,
formatter: cellValue => cellValue.upgradeGoodsCommodityCode || '-'
},
{
label: '产品编码', label: '产品编码',
prop: 'type', prop: 'type',
width: 100 width: 100
...@@ -481,6 +487,7 @@ export default { ...@@ -481,6 +487,7 @@ export default {
goodsInfo: cur.goodsInfo, goodsInfo: cur.goodsInfo,
purchaseGoodsInfo: cur.purchaseGoodsInfo, purchaseGoodsInfo: cur.purchaseGoodsInfo,
upgradeGoodsName: cur.upgradeGoods.specificationType == 1 ? cur.upgradeGoods.purchaseGoodsName || cur.upgradeGoods.thirdPartyName || cur.upgradeGoods.upgradeGoodsName : cur.upgradeGoods.upgradeGoodsName, upgradeGoodsName: cur.upgradeGoods.specificationType == 1 ? cur.upgradeGoods.purchaseGoodsName || cur.upgradeGoods.thirdPartyName || cur.upgradeGoods.upgradeGoodsName : cur.upgradeGoods.upgradeGoodsName,
upgradeGoodsCommodityCode: cur.upgradeGoods.commodityCode,
specificationType: cur.upgradeGoods.specificationType, specificationType: cur.upgradeGoods.specificationType,
formatSpecificationData: cur.upgradeGoods.formatSpecificationData ? cur.upgradeGoods.formatSpecificationData.replaceAll(';~;', '/') : '', formatSpecificationData: cur.upgradeGoods.formatSpecificationData ? cur.upgradeGoods.formatSpecificationData.replaceAll(';~;', '/') : '',
upgradeGoodsId: cur.upgradeGoodsId, upgradeGoodsId: cur.upgradeGoodsId,
......
...@@ -78,7 +78,8 @@ export default { ...@@ -78,7 +78,8 @@ export default {
putTimeStr: [], putTimeStr: [],
placeOrderTimeStr: [], placeOrderTimeStr: [],
warehousingTimeStr: [], warehousingTimeStr: [],
onlyAllocateOrder: false onlyAllocateOrder: false,
commodityCode: ''
}, },
tableSearchForm: {}, tableSearchForm: {},
paramsObj: {}, paramsObj: {},
...@@ -94,6 +95,13 @@ export default { ...@@ -94,6 +95,13 @@ export default {
maxlength: 20 maxlength: 20
}, },
{ {
label: '产品ID',
name: 'commodityCode',
type: 'input',
isClear: true,
placeholder: '请输入产品ID'
},
{
label: '下单时间', label: '下单时间',
name: 'placeOrderTimeStr', name: 'placeOrderTimeStr',
type: 'datePicker', type: 'datePicker',
...@@ -546,7 +554,8 @@ export default { ...@@ -546,7 +554,8 @@ export default {
putTimeStr: [], putTimeStr: [],
placeOrderTimeStr: [], placeOrderTimeStr: [],
warehousingTimeStr: [], warehousingTimeStr: [],
onlyAllocateOrder: false onlyAllocateOrder: false,
commodityCode: ''
} }
this.handleSearch() this.handleSearch()
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!