Commit 9cffd210 by 张立顺

feat 功能开发

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