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 {
prop: "upgradeGoodsName",
},
{
label: "产品ID",
prop: "upgradeGoodsCommodityCode",
width: 100,
},
{
label: "供应商名称",
prop: "thirdPartyName",
width: 100,
......@@ -683,8 +688,9 @@ export default {
"goodsType",
"goodsTypeName",
];
if (this.page == "factory")
if (this.page == "factory") {
delete params.shippingWarehouseId;
}
for (let idx = 0; idx < this.tableList.length; idx++) {
const item = this.tableList[idx];
if (this.nowPurNumList[idx] && this.nowPurNumList[idx] != 0) {
......
......@@ -416,6 +416,11 @@ export default {
prop: "upgradeGoodsName",
},
{
label: "产品ID",
prop: "upgradeGoodsCommodityCode",
width: 100,
},
{
label: "供应商名称",
prop: "thirdPartyName",
width: 100,
......@@ -518,6 +523,7 @@ export default {
signStatusList: [],
thirdPartyName: "",
thirdPartyCode: "",
commodityCode: "",
},
tableSearchForm: {},
tableData: [],
......@@ -652,6 +658,13 @@ export default {
isClear: true,
keyFn: this.keyDowmGetList,
},
{
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
},
],
selectedList: [],
getListApi: getPurchaseOrderShipmentList,
......@@ -669,6 +682,11 @@ export default {
prop: "upgradeGoodsName",
},
{
label: "产品ID",
prop: "upgradeGoodsCommodityCode",
width: 100,
},
{
label: "供应商名称",
prop: "thirdPartyName",
width: 100,
......
......@@ -128,6 +128,13 @@ export default {
optionLabel: "confValue",
optionsName: "inventoryTypeList",
},
{
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
},
],
getListApi: getInventoryTransactionRecordsPage,
// 表格参数
......@@ -145,6 +152,11 @@ export default {
prop: "upgradeGoodsName",
},
{
label: "产品ID",
prop: "commodityCode",
width: 100,
},
{
label: "产品编码",
prop: "productCode",
},
......
......@@ -208,6 +208,12 @@ export default {
optionId: "confId",
optionLabel: "confValue",
optionsName: "inventoryTypeList",
}, {
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
}],
getListApi: getMerchantGoodsStockReduceRecord,
tableParams: {
......@@ -226,6 +232,10 @@ export default {
prop: "upgradeGoodsName",
width: "160px",
}, {
label: "产品ID",
prop: "commodityCode",
width: 100,
}, {
label: "规格",
prop: "specificationData",
width: "160px",
......
<!-- 调拨发货 -->
<template>
<d2-container class="container">
<template #header>
<div class="header">
<d2-search ref="showSearch" class="show-search" :form-data="showFormData" :search-form="searchForm">
</d2-search>
<div class="up-btns">
<el-button :id="tableParams.btnId" handle size="small" type="primary">
查询
</el-button>
<el-button size="small" @click="handleReset">
重置
</el-button>
</div>
</div>
</template>
<div class="d2-container-content">
<d2-table-header>
<span>
<!-- 导出暂时不做 -->
<!-- <span style="margin-right: 10px">
<d2-container class="container">
<template #header>
<div class="header">
<d2-search ref="showSearch"
class="show-search"
:form-data="showFormData"
:search-form="searchForm">
</d2-search>
<div class="up-btns">
<el-button :id="tableParams.btnId"
size="small"
type="primary"
handle>
查询
</el-button>
<el-button size="small" @click="handleReset">
重置
</el-button>
</div>
</div>
</template>
<div class="d2-container-content">
<d2-table-header>
<span>
<!-- 导出暂时不做 -->
<!-- <span style="margin-right: 10px">
<auth-button category="Button" :show-btn-ids="['9081101']" />
</span> -->
<auth-button category="Button" :show-btn-ids="['9081102']" />
</span>
</d2-table-header>
<d2-table ref="transferShipmentTable" :before-search-fn="beforeSearchFn" :get-list-api="getListApi"
:search-form="tableSearchForm" :selectable-fn="selectableFn" :table-data="tableData"
:table-params="tableParams" @selectionTable="handleSelectionChange">
<template #receiver="scope">
<div v-if="scope.scope.receiver">
<el-popover v-if="scope.scope.receiver.length > 12" effect="dark" placement="top" trigger="hover"
width="300">
<div class="merchant-name-box">
{{ spanFilter(scope.scope.receiver) }}
</div>
<template #reference>
<div>
{{ spanFilter(scope.scope.receiver, 12) }}
</div>
</template>
</el-popover>
<div v-else>
{{ scope.scope.receiver }}
</div>
</div>
<span v-else>-</span>
</template>
<template #address="scope">
<div v-if="scope.scope.address">
<el-popover v-if="scope.scope.address.length > 12" effect="dark" placement="top" trigger="hover"
width="300">
<div class="merchant-name-box">
{{ spanFilter(scope.scope.address) }}
</div>
<template #reference>
<div>
{{ spanFilter(scope.scope.address, 12) }}
</div>
</template>
</el-popover>
<div v-else>
{{ scope.scope.address }}
</div>
</div>
<span v-else>-</span>
</template>
<template #auth-button="scope">
<div>
<span style="margin-right: 10px">
<auth-button :data="scope.scope" :show-btn-ids="['9081103']" />
</span>
<span v-if="scope.scope.deliveryStatus != 2 && scope.scope.billStatus != 7"
style="margin-right: 10px">
<auth-button :data="scope.scope" :show-btn-ids="['9081104']" />
</span>
<auth-button v-if="scope.scope.billStatus != 7 && scope.scope.deliveryStatus == 1"
:data="scope.scope" :show-btn-ids="['9081105']" />
</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>
<auth-button category="Button" :show-btn-ids="['9081102']" />
</span>
</d2-table-header>
<d2-table ref="transferShipmentTable"
:before-search-fn="beforeSearchFn"
:get-list-api="getListApi"
:search-form="tableSearchForm"
:selectable-fn="selectableFn"
:table-data="tableData"
:table-params="tableParams"
@selectionTable="handleSelectionChange">
<template #receiver="scope">
<div v-if="scope.scope.receiver">
<el-popover v-if="scope.scope.receiver.length > 12"
effect="dark"
placement="top"
trigger="hover"
width="300">
<div class="merchant-name-box">
{{ spanFilter(scope.scope.receiver) }}
</div>
<template #reference>
<div>
{{ spanFilter(scope.scope.receiver, 12) }}
</div>
</template>
</el-popover>
<div v-else>
{{ scope.scope.receiver }}
</div>
</div>
<span v-else>-</span>
</template>
<template #address="scope">
<div v-if="scope.scope.address">
<el-popover v-if="scope.scope.address.length > 12"
effect="dark"
placement="top"
trigger="hover"
width="300">
<div class="merchant-name-box">
{{ spanFilter(scope.scope.address) }}
</div>
<template #reference>
<div>
{{ spanFilter(scope.scope.address, 12) }}
</div>
</template>
</el-popover>
<div v-else>
{{ scope.scope.address }}
</div>
</div>
<span v-else>-</span>
</template>
<template #auth-button="scope">
<div>
<span style="margin-right: 10px">
<auth-button :data="scope.scope" :show-btn-ids="['9081103']" />
</span>
<span v-if="scope.scope.deliveryStatus != 2 && scope.scope.billStatus != 7"
style="margin-right: 10px">
<auth-button :data="scope.scope" :show-btn-ids="['9081104']" />
</span>
<auth-button v-if="scope.scope.billStatus != 7 && scope.scope.deliveryStatus == 1"
:data="scope.scope"
:show-btn-ids="['9081105']" />
</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>
<script>
......@@ -117,6 +142,7 @@ export default {
goodsName: "",
productCode: "",
callOutName: "",
commodityCode: "",
},
tableSearchForm: {},
tableData: [],
......@@ -166,13 +192,20 @@ export default {
type: "input",
isClear: true,
},
{
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
},
],
getListApi: getTransferShipmentList,
// 表格参数
tableParams: {
btnId: new Date().getTime() + Number.parseInt(Math.random() * 1000),
listName: "list",
mutiSelectUniqueKey: "id",
mutiSelectUniqueKey: "detailId",
mutiSelectName: "list",
tableOption: {
width: "140",
......@@ -193,6 +226,11 @@ export default {
prop: "goodsName",
},
{
label: "产品ID",
prop: "commodityCode",
width: 100,
},
{
label: "产品编码",
prop: "productCode",
},
......@@ -422,8 +460,9 @@ export default {
},
shipmentDialogClose(obj) {
this.shipmentVisible = false;
if (obj)
if (obj) {
this.$refs.transferShipmentTable.refreshTable(true);
}
},
// 查看详情
handleDetail(row) {
......@@ -454,8 +493,9 @@ export default {
},
handleRejectClose(obj) {
this.rejectVisible = false;
if (obj)
if (obj) {
this.$refs.transferShipmentTable.refreshTable(true);
}
},
},
};
......
......@@ -12,9 +12,9 @@
:search-form="searchForm">
<template #filmRollNo>
<el-input v-model.trim="searchForm.filmRollNo"
placeholder="请输入膜卷号"
:clearable="true"
:maxlength="50"
placeholder="请输入膜卷号"
:style="{ width: '100%' }"
@input="filmRollNoInput" />
</template>
......@@ -179,6 +179,12 @@ export default {
}, {
label: "膜卷号",
addHtml: "filmRollNo",
}, {
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
}],
getListApi: getGoodsWarehousingList,
tableParams: {
......@@ -197,6 +203,10 @@ export default {
prop: "upgradeGoodsName",
width: "160px",
}, {
label: "产品ID",
prop: "commodityCode",
width: 100,
}, {
label: "规格",
prop: "specificationData",
width: "160px",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!