Commit 6e4e04d9 by 陈婉清

Merge branch 'feature/586/cwq' into 'SAAS+V5.8.6'

Feature/586/cwq

See merge request !987
2 parents 00ff56e6 0761d186
Pipeline #263 for 6e4e04d9 failed in 0 seconds
...@@ -350,6 +350,11 @@ export default { ...@@ -350,6 +350,11 @@ export default {
prop: "upgradeGoodsName", prop: "upgradeGoodsName",
}, },
{ {
label: "产品ID",
prop: "upgradeGoodsCommodityCode",
width: 100,
},
{
label: "供应商名称", label: "供应商名称",
prop: "thirdPartyName", prop: "thirdPartyName",
width: 100, width: 100,
...@@ -683,8 +688,9 @@ export default { ...@@ -683,8 +688,9 @@ export default {
"goodsType", "goodsType",
"goodsTypeName", "goodsTypeName",
]; ];
if (this.page == "factory") if (this.page == "factory") {
delete params.shippingWarehouseId; delete params.shippingWarehouseId;
}
for (let idx = 0; idx < this.tableList.length; idx++) { for (let idx = 0; idx < this.tableList.length; idx++) {
const item = this.tableList[idx]; const item = this.tableList[idx];
if (this.nowPurNumList[idx] && this.nowPurNumList[idx] != 0) { if (this.nowPurNumList[idx] && this.nowPurNumList[idx] != 0) {
......
<!-- 发货单详情弹窗 --> <!-- 发货单详情弹窗 -->
<template> <template>
<div> <div>
<d2-dialog title="详细信息" :is-visible="detailVisible" class="stockMonthDailog" width="1400px" :no-cancel="true" <d2-dialog btn-ok-label="关闭"
btn-ok-label="关闭" @closeDialog="handleClose" @confirmDialog="handleClose"> class="stockMonthDailog"
title="详细信息"
width="1400px"
:is-visible="detailVisible"
:no-cancel="true"
@closeDialog="handleClose"
@confirmDialog="handleClose">
<div class="detail-info"> <div class="detail-info">
<div> <div>
发货单号: 发货单号:
...@@ -25,9 +31,13 @@ ...@@ -25,9 +31,13 @@
<div class="detail-info m-b-33" style="justify-content: flex-start; align-items: flex-start;"> <div class="detail-info m-b-33" style="justify-content: flex-start; align-items: flex-start;">
签收凭证: 签收凭证:
<div v-if="detailInfo.uploadFileUrl"> <div v-if="detailInfo.uploadFileUrl">
<el-image v-for="(url, index) in detailInfo.uploadFileUrl.split(',')" :key="index" :src="url" <el-image v-for="(url, index) in detailInfo.uploadFileUrl.split(',')"
:key="index"
class="sign-image"
fit="cover"
style="width: 36px; height: 36px; margin-right: 8px; cursor: pointer;"
:preview-src-list="detailInfo.uploadFileUrl.split(',')" :preview-src-list="detailInfo.uploadFileUrl.split(',')"
style="width: 36px; height: 36px; margin-right: 8px; cursor: pointer;" class="sign-image" fit="cover" /> :src="url" />
</div> </div>
<div v-else> <div v-else>
- -
...@@ -41,9 +51,15 @@ ...@@ -41,9 +51,15 @@
<span>{{ item.upgradeGoodsName }}&nbsp;&nbsp;&nbsp;&nbsp; {{ item.specificationData }}</span> <span>{{ item.upgradeGoodsName }}&nbsp;&nbsp;&nbsp;&nbsp; {{ item.specificationData }}</span>
</div> </div>
<div> <div>
产品ID:
<span>{{ item.upgradeCommodityCode }}</span>
</div>
<div>
发货数量: 发货数量:
<span>{{ item.purchaseNumber + (membraneTypeList.includes(item.goodsType) ? '卷' : '件') }}</span> <span>{{ item.purchaseNumber + (membraneTypeList.includes(item.goodsType) ? '卷' : '件') }}</span>
<el-button v-if="item.deliveryCardList && item.deliveryCardList.length > 0" type="text" class="lookNumber" <el-button v-if="item.deliveryCardList && item.deliveryCardList.length > 0"
class="lookNumber"
type="text"
@click="lookNumber(item.deliveryCardList)"> @click="lookNumber(item.deliveryCardList)">
查看卡号 查看卡号
</el-button> </el-button>
...@@ -53,19 +69,26 @@ ...@@ -53,19 +69,26 @@
<span>{{ item.stockNum + (membraneTypeList.includes(item.goodsType) ? '米' : '件') }}</span> <span>{{ item.stockNum + (membraneTypeList.includes(item.goodsType) ? '米' : '件') }}</span>
</div> </div>
</div> </div>
<d2-table v-if="item.deliveryCardList === null || item.deliveryCardList.length == 0" ref="recordTable" <d2-table v-if="item.deliveryCardList === null || item.deliveryCardList.length == 0"
:table-data="item.goodsWarehousingList" :table-params="tableParams" :has-page="false"> ref="recordTable"
:has-page="false"
:table-data="item.goodsWarehousingList"
:table-params="tableParams">
<template #filmRollNo="scope"> <template #filmRollNo="scope">
<div v-if="scope.scope.filmRollList && scope.scope.filmRollList.length == 1"> <div v-if="scope.scope.filmRollList && scope.scope.filmRollList.length == 1">
{{ scope.scope.filmRollList[0] }} {{ scope.scope.filmRollList[0] }}
</div> </div>
<div v-else-if="scope.scope.filmRollList && scope.scope.filmRollList.length > 1"> <div v-else-if="scope.scope.filmRollList && scope.scope.filmRollList.length > 1">
<el-popover placement="top" width="200" trigger="hover"> <el-popover placement="top"
trigger="hover"
width="200">
<div class="film-roll-box"> <div class="film-roll-box">
<div class="title"> <div class="title">
膜卷号 膜卷号
</div> </div>
<div v-for="(subItem, subIndex) in scope.scope.filmRollList" :key="subIndex" class="merchant-item"> <div v-for="(subItem, subIndex) in scope.scope.filmRollList"
:key="subIndex"
class="merchant-item">
{{ subItem }} {{ subItem }}
</div> </div>
</div> </div>
...@@ -87,10 +110,18 @@ ...@@ -87,10 +110,18 @@
</div> </div>
</template> </template>
</d2-dialog> </d2-dialog>
<d2-dialog title="查看发货卡号" :is-visible="innerVisible" width="500px" :no-cancel="true" btn-ok-label="关闭" <d2-dialog btn-ok-label="关闭"
@closeDialog="innerVisible = false" @confirmDialog="innerVisible = false"> title="查看发货卡号"
<d2-table ref="recordTable" class="deliveryCardCon" :table-data="tableDataCardList" :table-params="innerParams" width="500px"
:has-page="false"> :is-visible="innerVisible"
:no-cancel="true"
@closeDialog="innerVisible = false"
@confirmDialog="innerVisible = false">
<d2-table ref="recordTable"
class="deliveryCardCon"
:has-page="false"
:table-data="tableDataCardList"
:table-params="innerParams">
</d2-table> </d2-table>
</d2-dialog> </d2-dialog>
</div> </div>
......
...@@ -3,11 +3,17 @@ ...@@ -3,11 +3,17 @@
<d2-container class="container"> <d2-container class="container">
<template #header> <template #header>
<div class="header"> <div class="header">
<d2-search ref="showSearch" :labelWidth="labelWidth" class="show-search" :form-data="showFormData" <d2-search ref="showSearch"
class="show-search"
:form-data="showFormData"
:label-width="labelWidth"
:search-form="searchForm"> :search-form="searchForm">
</d2-search> </d2-search>
<div class="up-btns"> <div class="up-btns">
<el-button :id="tableParams.btnId" handle size="small" type="primary"> <el-button :id="tableParams.btnId"
size="small"
type="primary"
handle>
查询 查询
</el-button> </el-button>
<el-button size="small" @click="handleReset"> <el-button size="small" @click="handleReset">
...@@ -25,18 +31,27 @@ ...@@ -25,18 +31,27 @@
<auth-button category="Button" :show-btn-ids="['9090704']" /> <auth-button category="Button" :show-btn-ids="['9090704']" />
</span> </span>
</d2-table-header> </d2-table-header>
<d2-table ref="purchaseAndDeliveryTable" :before-search-fn="beforeSearchFn" :get-list-api="getListApi" <d2-table ref="purchaseAndDeliveryTable"
:search-form="tableSearchForm" :table-params="tableParams" @searchChange="searchChange" :before-search-fn="beforeSearchFn"
@selectionTable="handleSelectionTable" @setTableFinishFun="setTableFinishFun"> :get-list-api="getListApi"
:search-form="tableSearchForm"
:table-params="tableParams"
@searchChange="searchChange"
@selectionTable="handleSelectionTable"
@setTableFinishFun="setTableFinishFun">
<template #upgradeGoodsName="scope"> <template #upgradeGoodsName="scope">
<div> <div>
<img v-if="scope.scope.refundStatus == 'Y'" alt="" class="return" src="@/assets/retrun.png"> <img v-if="scope.scope.refundStatus == 'Y'"
alt=""
class="return"
src="@/assets/retrun.png">
<span>{{ scope.scope.upgradeGoodsName }}</span> <span>{{ scope.scope.upgradeGoodsName }}</span>
</div> </div>
</template> </template>
<template #suitCarTypeList="scope"> <template #suitCarTypeList="scope">
<div> <div>
<el-tooltip v-if="scope.scope.suitCarTypeList && scope.scope.suitCarTypeList.length" effect="dark" <el-tooltip v-if="scope.scope.suitCarTypeList && scope.scope.suitCarTypeList.length"
effect="dark"
placement="top"> placement="top">
<template #content> <template #content>
<div class="car-type-list"> <div class="car-type-list">
...@@ -58,8 +73,7 @@ ...@@ -58,8 +73,7 @@
</span> </span>
<!-- 确认发货 --> <!-- 确认发货 -->
<!-- style="margin-right: 10px;" --> <!-- style="margin-right: 10px;" -->
<span <span v-if="scope.scope.refundStatus != 'Y' && (scope.scope.deliveryStatus == 1 || scope.scope.deliveryStatus == 3)"
v-if="scope.scope.refundStatus != 'Y' && (scope.scope.deliveryStatus == 1 || scope.scope.deliveryStatus == 3)"
style="margin-right: 10px;"> style="margin-right: 10px;">
<auth-button :data="scope.scope" :show-btn-ids="['9090702']" /> <auth-button :data="scope.scope" :show-btn-ids="['9090702']" />
</span> </span>
...@@ -77,20 +91,36 @@ ...@@ -77,20 +91,36 @@
</template> </template>
</d2-table> </d2-table>
</div> </div>
<FactoryDeliveryDetailDialog v-if="detailVisible" :record-info="detailInfo" :visible.sync="detailVisible"> <FactoryDeliveryDetailDialog v-if="detailVisible"
:record-info="detailInfo"
:visible.sync="detailVisible">
</FactoryDeliveryDetailDialog> </FactoryDeliveryDetailDialog>
<EditOrderDialog v-if="editVisible" page="factory" :params-obj="dialogData" :table-list="editTableList" <EditOrderDialog v-if="editVisible"
:visible.sync="editVisible" @editClose="editClose"> page="factory"
:params-obj="dialogData"
:table-list="editTableList"
:visible.sync="editVisible"
@editClose="editClose">
</EditOrderDialog> </EditOrderDialog>
<!-- :config="rejectConfig.setting" :dialog-config="rejectConfig.config" :config="rejectConfig.setting" --> <!-- :config="rejectConfig.setting" :dialog-config="rejectConfig.config" :config="rejectConfig.setting" -->
<baseDialog :dialog-config="rejectConfig.config" :is-show.sync="rejectVisible" @handleClick="handleRejectConfirm"> <baseDialog :dialog-config="rejectConfig.config"
:is-show.sync="rejectVisible"
@handleClick="handleRejectConfirm">
<!-- <d2-dialog v-if="rejectVisible" :is-visible="rejectVisible" title="驳回提2" @confirmDialog="handleRejectConfirm" <!-- <d2-dialog v-if="rejectVisible" :is-visible="rejectVisible" title="驳回提2" @confirmDialog="handleRejectConfirm"
@closeDialog="handleRejectClose"> --> @closeDialog="handleRejectClose"> -->
<div class="reject-dialog"> <div class="reject-dialog">
<el-form ref="delivery-dialog-form" label-width="150px" :model="rejectData" :rules="rejectRules"> <el-form ref="delivery-dialog-form"
label-width="150px"
:model="rejectData"
:rules="rejectRules">
<el-form-item label="驳回原因:" prop="rejectCause"> <el-form-item label="驳回原因:" prop="rejectCause">
<el-input v-model.trim="rejectData.rejectCause" class="dis-in-block reject-input" maxlength="50" <el-input v-model.trim="rejectData.rejectCause"
placeholder="请输入驳回原因" :rows="3" show-word-limit type="textarea" /> class="dis-in-block reject-input"
maxlength="50"
placeholder="请输入驳回原因"
type="textarea"
show-word-limit
:rows="3" />
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
...@@ -121,7 +151,7 @@ export default { ...@@ -121,7 +151,7 @@ export default {
}, },
data() { data() {
return { return {
labelWidth: '100px', labelWidth: "100px",
editVisible: false, editVisible: false,
editTableList: [], editTableList: [],
reg: { reg: {
...@@ -154,6 +184,7 @@ export default { ...@@ -154,6 +184,7 @@ export default {
merchantName: "", merchantName: "",
deliveryStatus: "", deliveryStatus: "",
sendOutMerchantName: "", sendOutMerchantName: "",
commodityCode: "",
}, },
tableSearchForm: {}, tableSearchForm: {},
tableData: [], tableData: [],
...@@ -225,18 +256,26 @@ export default { ...@@ -225,18 +256,26 @@ export default {
isClear: true, isClear: true,
}, },
{ {
label: '供应商名称', label: "供应商名称",
name: 'thirdPartyName', name: "thirdPartyName",
type: 'input', type: "input",
isClear: true, isClear: true,
keyFn: this.keyDowmGetList keyFn: this.keyDowmGetList,
}, { },
label: '供应商编码', {
name: 'thirdPartyCode', label: "供应商编码",
type: 'input', name: "thirdPartyCode",
type: "input",
isClear: true, isClear: true,
keyFn: this.keyDowmGetList keyFn: this.keyDowmGetList,
} },
{
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
},
], ],
selectedList: [], selectedList: [],
getListApi: warehousedeliverPage, getListApi: warehousedeliverPage,
...@@ -254,9 +293,14 @@ export default { ...@@ -254,9 +293,14 @@ export default {
prop: "upgradeGoodsName", prop: "upgradeGoodsName",
}, },
{ {
label: '供应商名称', label: "产品ID",
prop: 'thirdPartyName', prop: "upgradeGoodsCommodityCode",
width: 100 width: 100,
},
{
label: "供应商名称",
prop: "thirdPartyName",
width: 100,
}, },
{ {
label: "产品编码", label: "产品编码",
...@@ -276,9 +320,9 @@ export default { ...@@ -276,9 +320,9 @@ export default {
}, },
}, },
{ {
label: '供应商编码', label: "供应商编码",
prop: 'thirdPartyCode', prop: "thirdPartyCode",
width: 100 width: 100,
}, },
{ {
label: "系列", label: "系列",
......
...@@ -416,6 +416,11 @@ export default { ...@@ -416,6 +416,11 @@ export default {
prop: "upgradeGoodsName", prop: "upgradeGoodsName",
}, },
{ {
label: "产品ID",
prop: "upgradeGoodsCommodityCode",
width: 100,
},
{
label: "供应商名称", label: "供应商名称",
prop: "thirdPartyName", prop: "thirdPartyName",
width: 100, width: 100,
...@@ -518,6 +523,7 @@ export default { ...@@ -518,6 +523,7 @@ export default {
signStatusList: [], signStatusList: [],
thirdPartyName: "", thirdPartyName: "",
thirdPartyCode: "", thirdPartyCode: "",
commodityCode: "",
}, },
tableSearchForm: {}, tableSearchForm: {},
tableData: [], tableData: [],
...@@ -652,6 +658,13 @@ export default { ...@@ -652,6 +658,13 @@ export default {
isClear: true, isClear: true,
keyFn: this.keyDowmGetList, keyFn: this.keyDowmGetList,
}, },
{
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
},
], ],
selectedList: [], selectedList: [],
getListApi: getPurchaseOrderShipmentList, getListApi: getPurchaseOrderShipmentList,
...@@ -669,6 +682,11 @@ export default { ...@@ -669,6 +682,11 @@ export default {
prop: "upgradeGoodsName", prop: "upgradeGoodsName",
}, },
{ {
label: "产品ID",
prop: "upgradeGoodsCommodityCode",
width: 100,
},
{
label: "供应商名称", label: "供应商名称",
prop: "thirdPartyName", prop: "thirdPartyName",
width: 100, width: 100,
......
...@@ -128,6 +128,13 @@ export default { ...@@ -128,6 +128,13 @@ export default {
optionLabel: "confValue", optionLabel: "confValue",
optionsName: "inventoryTypeList", optionsName: "inventoryTypeList",
}, },
{
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
},
], ],
getListApi: getInventoryTransactionRecordsPage, getListApi: getInventoryTransactionRecordsPage,
// 表格参数 // 表格参数
...@@ -145,6 +152,11 @@ export default { ...@@ -145,6 +152,11 @@ export default {
prop: "upgradeGoodsName", prop: "upgradeGoodsName",
}, },
{ {
label: "产品ID",
prop: "commodityCode",
width: 100,
},
{
label: "产品编码", label: "产品编码",
prop: "productCode", prop: "productCode",
}, },
......
...@@ -208,6 +208,12 @@ export default { ...@@ -208,6 +208,12 @@ export default {
optionId: "confId", optionId: "confId",
optionLabel: "confValue", optionLabel: "confValue",
optionsName: "inventoryTypeList", optionsName: "inventoryTypeList",
}, {
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
}], }],
getListApi: getMerchantGoodsStockReduceRecord, getListApi: getMerchantGoodsStockReduceRecord,
tableParams: { tableParams: {
...@@ -226,6 +232,10 @@ export default { ...@@ -226,6 +232,10 @@ export default {
prop: "upgradeGoodsName", prop: "upgradeGoodsName",
width: "160px", width: "160px",
}, { }, {
label: "产品ID",
prop: "commodityCode",
width: 100,
}, {
label: "规格", label: "规格",
prop: "specificationData", prop: "specificationData",
width: "160px", width: "160px",
......
...@@ -3,10 +3,16 @@ ...@@ -3,10 +3,16 @@
<d2-container class="container"> <d2-container class="container">
<template #header> <template #header>
<div class="header"> <div class="header">
<d2-search ref="showSearch" class="show-search" :form-data="showFormData" :search-form="searchForm"> <d2-search ref="showSearch"
class="show-search"
:form-data="showFormData"
:search-form="searchForm">
</d2-search> </d2-search>
<div class="up-btns"> <div class="up-btns">
<el-button :id="tableParams.btnId" handle size="small" type="primary"> <el-button :id="tableParams.btnId"
size="small"
type="primary"
handle>
查询 查询
</el-button> </el-button>
<el-button size="small" @click="handleReset"> <el-button size="small" @click="handleReset">
...@@ -25,12 +31,20 @@ ...@@ -25,12 +31,20 @@
<auth-button category="Button" :show-btn-ids="['9081102']" /> <auth-button category="Button" :show-btn-ids="['9081102']" />
</span> </span>
</d2-table-header> </d2-table-header>
<d2-table ref="transferShipmentTable" :before-search-fn="beforeSearchFn" :get-list-api="getListApi" <d2-table ref="transferShipmentTable"
:search-form="tableSearchForm" :selectable-fn="selectableFn" :table-data="tableData" :before-search-fn="beforeSearchFn"
:table-params="tableParams" @selectionTable="handleSelectionChange"> :get-list-api="getListApi"
:search-form="tableSearchForm"
:selectable-fn="selectableFn"
:table-data="tableData"
:table-params="tableParams"
@selectionTable="handleSelectionChange">
<template #receiver="scope"> <template #receiver="scope">
<div v-if="scope.scope.receiver"> <div v-if="scope.scope.receiver">
<el-popover v-if="scope.scope.receiver.length > 12" effect="dark" placement="top" trigger="hover" <el-popover v-if="scope.scope.receiver.length > 12"
effect="dark"
placement="top"
trigger="hover"
width="300"> width="300">
<div class="merchant-name-box"> <div class="merchant-name-box">
{{ spanFilter(scope.scope.receiver) }} {{ spanFilter(scope.scope.receiver) }}
...@@ -49,7 +63,10 @@ ...@@ -49,7 +63,10 @@
</template> </template>
<template #address="scope"> <template #address="scope">
<div v-if="scope.scope.address"> <div v-if="scope.scope.address">
<el-popover v-if="scope.scope.address.length > 12" effect="dark" placement="top" trigger="hover" <el-popover v-if="scope.scope.address.length > 12"
effect="dark"
placement="top"
trigger="hover"
width="300"> width="300">
<div class="merchant-name-box"> <div class="merchant-name-box">
{{ spanFilter(scope.scope.address) }} {{ spanFilter(scope.scope.address) }}
...@@ -76,18 +93,26 @@ ...@@ -76,18 +93,26 @@
<auth-button :data="scope.scope" :show-btn-ids="['9081104']" /> <auth-button :data="scope.scope" :show-btn-ids="['9081104']" />
</span> </span>
<auth-button v-if="scope.scope.billStatus != 7 && scope.scope.deliveryStatus == 1" <auth-button v-if="scope.scope.billStatus != 7 && scope.scope.deliveryStatus == 1"
:data="scope.scope" :show-btn-ids="['9081105']" /> :data="scope.scope"
:show-btn-ids="['9081105']" />
</div> </div>
</template> </template>
</d2-table> </d2-table>
</div> </div>
<ShipmentDialog v-if="shipmentVisible" :params-obj="shipmentDialogData" :table-list="shipmentTableList" <ShipmentDialog v-if="shipmentVisible"
:visible.sync="shipmentVisible" @shipmentClose="shipmentDialogClose"> :params-obj="shipmentDialogData"
:table-list="shipmentTableList"
:visible.sync="shipmentVisible"
@shipmentClose="shipmentDialogClose">
</ShipmentDialog> </ShipmentDialog>
<RejectDialog v-if="rejectVisible" :reject-data="rejectData" :visible.sync="rejectVisible" <RejectDialog v-if="rejectVisible"
:reject-data="rejectData"
:visible.sync="rejectVisible"
@rejectClose="handleRejectClose"> @rejectClose="handleRejectClose">
</RejectDialog> </RejectDialog>
<TransferDetailDialog v-if="transferDetailVisible" :params-obj="transferObj" :visible.sync="transferDetailVisible"> <TransferDetailDialog v-if="transferDetailVisible"
:params-obj="transferObj"
:visible.sync="transferDetailVisible">
</TransferDetailDialog> </TransferDetailDialog>
</d2-container> </d2-container>
</template> </template>
...@@ -117,6 +142,7 @@ export default { ...@@ -117,6 +142,7 @@ export default {
goodsName: "", goodsName: "",
productCode: "", productCode: "",
callOutName: "", callOutName: "",
commodityCode: "",
}, },
tableSearchForm: {}, tableSearchForm: {},
tableData: [], tableData: [],
...@@ -166,13 +192,20 @@ export default { ...@@ -166,13 +192,20 @@ export default {
type: "input", type: "input",
isClear: true, isClear: true,
}, },
{
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
},
], ],
getListApi: getTransferShipmentList, getListApi: getTransferShipmentList,
// 表格参数 // 表格参数
tableParams: { tableParams: {
btnId: new Date().getTime() + Number.parseInt(Math.random() * 1000), btnId: new Date().getTime() + Number.parseInt(Math.random() * 1000),
listName: "list", listName: "list",
mutiSelectUniqueKey: "id", mutiSelectUniqueKey: "detailId",
mutiSelectName: "list", mutiSelectName: "list",
tableOption: { tableOption: {
width: "140", width: "140",
...@@ -193,6 +226,11 @@ export default { ...@@ -193,6 +226,11 @@ export default {
prop: "goodsName", prop: "goodsName",
}, },
{ {
label: "产品ID",
prop: "commodityCode",
width: 100,
},
{
label: "产品编码", label: "产品编码",
prop: "productCode", prop: "productCode",
}, },
...@@ -422,8 +460,9 @@ export default { ...@@ -422,8 +460,9 @@ export default {
}, },
shipmentDialogClose(obj) { shipmentDialogClose(obj) {
this.shipmentVisible = false; this.shipmentVisible = false;
if (obj) if (obj) {
this.$refs.transferShipmentTable.refreshTable(true); this.$refs.transferShipmentTable.refreshTable(true);
}
}, },
// 查看详情 // 查看详情
handleDetail(row) { handleDetail(row) {
...@@ -454,8 +493,9 @@ export default { ...@@ -454,8 +493,9 @@ export default {
}, },
handleRejectClose(obj) { handleRejectClose(obj) {
this.rejectVisible = false; this.rejectVisible = false;
if (obj) if (obj) {
this.$refs.transferShipmentTable.refreshTable(true); this.$refs.transferShipmentTable.refreshTable(true);
}
}, },
}, },
}; };
......
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
:search-form="searchForm"> :search-form="searchForm">
<template #filmRollNo> <template #filmRollNo>
<el-input v-model.trim="searchForm.filmRollNo" <el-input v-model.trim="searchForm.filmRollNo"
placeholder="请输入膜卷号"
:clearable="true" :clearable="true"
:maxlength="50" :maxlength="50"
placeholder="请输入膜卷号"
:style="{ width: '100%' }" :style="{ width: '100%' }"
@input="filmRollNoInput" /> @input="filmRollNoInput" />
</template> </template>
...@@ -179,6 +179,12 @@ export default { ...@@ -179,6 +179,12 @@ export default {
}, { }, {
label: "膜卷号", label: "膜卷号",
addHtml: "filmRollNo", addHtml: "filmRollNo",
}, {
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
}], }],
getListApi: getGoodsWarehousingList, getListApi: getGoodsWarehousingList,
tableParams: { tableParams: {
...@@ -197,6 +203,10 @@ export default { ...@@ -197,6 +203,10 @@ export default {
prop: "upgradeGoodsName", prop: "upgradeGoodsName",
width: "160px", width: "160px",
}, { }, {
label: "产品ID",
prop: "commodityCode",
width: 100,
}, {
label: "规格", label: "规格",
prop: "specificationData", prop: "specificationData",
width: "160px", width: "160px",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!