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) {
......
...@@ -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",
......
<!-- 调拨发货 --> <!-- 调拨发货 -->
<template> <template>
<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"
</d2-search> class="show-search"
<div class="up-btns"> :form-data="showFormData"
<el-button :id="tableParams.btnId" handle size="small" type="primary"> :search-form="searchForm">
查询 </d2-search>
</el-button> <div class="up-btns">
<el-button size="small" @click="handleReset"> <el-button :id="tableParams.btnId"
重置 size="small"
</el-button> type="primary"
</div> handle>
</div> 查询
</template> </el-button>
<div class="d2-container-content"> <el-button size="small" @click="handleReset">
<d2-table-header> 重置
<span> </el-button>
<!-- 导出暂时不做 --> </div>
<!-- <span style="margin-right: 10px"> </div>
</template>
<div class="d2-container-content">
<d2-table-header>
<span>
<!-- 导出暂时不做 -->
<!-- <span style="margin-right: 10px">
<auth-button category="Button" :show-btn-ids="['9081101']" /> <auth-button category="Button" :show-btn-ids="['9081101']" />
</span> --> </span> -->
<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"
<template #receiver="scope"> :search-form="tableSearchForm"
<div v-if="scope.scope.receiver"> :selectable-fn="selectableFn"
<el-popover v-if="scope.scope.receiver.length > 12" effect="dark" placement="top" trigger="hover" :table-data="tableData"
width="300"> :table-params="tableParams"
<div class="merchant-name-box"> @selectionTable="handleSelectionChange">
{{ spanFilter(scope.scope.receiver) }} <template #receiver="scope">
</div> <div v-if="scope.scope.receiver">
<template #reference> <el-popover v-if="scope.scope.receiver.length > 12"
<div> effect="dark"
{{ spanFilter(scope.scope.receiver, 12) }} placement="top"
</div> trigger="hover"
</template> width="300">
</el-popover> <div class="merchant-name-box">
<div v-else> {{ spanFilter(scope.scope.receiver) }}
{{ scope.scope.receiver }} </div>
</div> <template #reference>
</div> <div>
<span v-else>-</span> {{ spanFilter(scope.scope.receiver, 12) }}
</template> </div>
<template #address="scope"> </template>
<div v-if="scope.scope.address"> </el-popover>
<el-popover v-if="scope.scope.address.length > 12" effect="dark" placement="top" trigger="hover" <div v-else>
width="300"> {{ scope.scope.receiver }}
<div class="merchant-name-box"> </div>
{{ spanFilter(scope.scope.address) }} </div>
</div> <span v-else>-</span>
<template #reference> </template>
<div> <template #address="scope">
{{ spanFilter(scope.scope.address, 12) }} <div v-if="scope.scope.address">
</div> <el-popover v-if="scope.scope.address.length > 12"
</template> effect="dark"
</el-popover> placement="top"
<div v-else> trigger="hover"
{{ scope.scope.address }} width="300">
</div> <div class="merchant-name-box">
</div> {{ spanFilter(scope.scope.address) }}
<span v-else>-</span> </div>
</template> <template #reference>
<template #auth-button="scope"> <div>
<div> {{ spanFilter(scope.scope.address, 12) }}
<span style="margin-right: 10px"> </div>
<auth-button :data="scope.scope" :show-btn-ids="['9081103']" /> </template>
</span> </el-popover>
<span v-if="scope.scope.deliveryStatus != 2 && scope.scope.billStatus != 7" <div v-else>
style="margin-right: 10px"> {{ scope.scope.address }}
<auth-button :data="scope.scope" :show-btn-ids="['9081104']" /> </div>
</span> </div>
<auth-button v-if="scope.scope.billStatus != 7 && scope.scope.deliveryStatus == 1" <span v-else>-</span>
:data="scope.scope" :show-btn-ids="['9081105']" /> </template>
</div> <template #auth-button="scope">
</template> <div>
</d2-table> <span style="margin-right: 10px">
</div> <auth-button :data="scope.scope" :show-btn-ids="['9081103']" />
<ShipmentDialog v-if="shipmentVisible" :params-obj="shipmentDialogData" :table-list="shipmentTableList" </span>
:visible.sync="shipmentVisible" @shipmentClose="shipmentDialogClose"> <span v-if="scope.scope.deliveryStatus != 2 && scope.scope.billStatus != 7"
</ShipmentDialog> style="margin-right: 10px">
<RejectDialog v-if="rejectVisible" :reject-data="rejectData" :visible.sync="rejectVisible" <auth-button :data="scope.scope" :show-btn-ids="['9081104']" />
@rejectClose="handleRejectClose"> </span>
</RejectDialog> <auth-button v-if="scope.scope.billStatus != 7 && scope.scope.deliveryStatus == 1"
<TransferDetailDialog v-if="transferDetailVisible" :params-obj="transferObj" :visible.sync="transferDetailVisible"> :data="scope.scope"
</TransferDetailDialog> :show-btn-ids="['9081105']" />
</d2-container> </div>
</template>
</d2-table>
</div>
<ShipmentDialog v-if="shipmentVisible"
:params-obj="shipmentDialogData"
:table-list="shipmentTableList"
:visible.sync="shipmentVisible"
@shipmentClose="shipmentDialogClose">
</ShipmentDialog>
<RejectDialog v-if="rejectVisible"
:reject-data="rejectData"
:visible.sync="rejectVisible"
@rejectClose="handleRejectClose">
</RejectDialog>
<TransferDetailDialog v-if="transferDetailVisible"
:params-obj="transferObj"
:visible.sync="transferDetailVisible">
</TransferDetailDialog>
</d2-container>
</template> </template>
<script> <script>
...@@ -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!