Commit bfd5a6d9 by 张立顺

Merge branch 'SAAS+V5.1.0' of http://192.168.3.233:8090/saas_plus/dj-car-life-sy…

…stem into SAAS+V5.1.0
2 parents bce7d71e 22f982ad
......@@ -4,7 +4,7 @@
<div class="edit-order-dialog" v-if="dialogShow">
<div class="table-class">
<d2-table ref="purchaseOrderDetailTable" :table-params="tableParams" :has-page="hasPage" @refreshTable="refreshTable" :table-data="tableList" :table-total="detailInfo.tableTotal">
<div slot="nowPurNum" slot-scope="scope">
<div slot="nowPurNum" slot-scope="scope" style="margin: 0 8px;">
<el-select v-model="nowPurNumList[scope.index]" placeholder="请选择" clearable>
<el-option v-for="item in staffList" :key="item.uuid" :label="item.staffName" :value="item.uuid">
</el-option>
......@@ -26,9 +26,9 @@
</el-tooltip>
<div v-else>-</div>
</template>
<template slot="deliveryRemark" slot-scope="scope">
<div slot="deliveryRemark" slot-scope="scope" style="margin: 0 8px;">
<el-input v-model="scope.scope.deliveryRemark" maxlength="50" placeholder="请输入"></el-input>
</template>
</div>
</d2-table>
</div>
<div class="footer">
......@@ -229,9 +229,12 @@ export default {
},
handleBatchConfirm() {
this.nowPurNumList.forEach((item, idx) => {
this.tableList.forEach((item, idx) => {
this.nowPurNumList[idx] = this.batchForm.consignor
})
// this.nowPurNumList.forEach((item, idx) => {
// this.nowPurNumList[idx] = this.batchForm.consignor
// })
this.batchDialogVisible()
},
getStaffList() {
......
......@@ -24,7 +24,7 @@
</div> -->
<div class="table-class">
<d2-table ref="purchaseOrderDetailTable" :table-params="tableParams" :has-page="hasPage" :table-data="tableList">
<div slot="nowPurNum" slot-scope="scope">
<div slot="nowPurNum" slot-scope="scope" style="margin: 0 8px;">
<!-- 未退货才可以 -->
<div v-if="
(tableList[scope.index].purchaseNumber == 0 ||
......@@ -48,7 +48,7 @@
}}
</div>
</div>
<div slot="cardNum" slot-scope="scope">
<div slot="cardNum" slot-scope="scope" style="margin: 0 8px;">
<div v-if="tableList[scope.index].entityCardFlag != 'Y' || (tableList[scope.index].shipperUuid && tableList[scope.index].shipperUuid != userInfo.detail.uuid)">
-
</div>
......@@ -311,6 +311,7 @@ export default {
{
label: "已发货数量",
prop: "purchaseNumber",
width: 120,
formatter: (cellValue) => {
return baseConfig.membraneTypeList.includes(cellValue.goodsType)
? `${cellValue.purchaseNumber || 0}卷`
......@@ -320,11 +321,13 @@ export default {
{
label: "本次发货数量",
prop: "",
width: 124,
addHtml: "nowPurNum"
},
{
label: "发货卡号",
prop: "",
width: 122,
addHtml: "cardNum"
}
]
......
<!-- 发货单详情弹窗 -->
<template>
<div>
<d2-dialog title="详细信息" :is-visible="detailVisible" class="stockMonthDailog" width="70%" :no-cancel="true" btn-ok-label="关闭" @closeDialog="handleClose" @confirmDialog="handleClose">
<d2-dialog title="详细信息" :is-visible="detailVisible" class="stockMonthDailog" width="1400px" :no-cancel="true" btn-ok-label="关闭" @closeDialog="handleClose" @confirmDialog="handleClose">
<div class="detail-info">
<div>
发货单号:
......@@ -51,7 +51,6 @@
</div>
</div>
<div slot="reference">
<!-- <img style="width: 14px;height: 13px;" src="./images/merchant_icon.png"> -->
<span style="color: #2A58AD;">(…{{ scope.scope.filmRollList.length }})</span>
</div>
</el-popover>
......
......@@ -18,9 +18,12 @@
<auth-button category="Button" />
</d2-table-header>
<d2-table ref="recordTable" :get-list-api="getListApi" :search-form="searchFormSearch" :table-params="tableParams" :before-search-fn="beforeSearchFn">
<el-tooltip slot="orderCode" slot-scope="scope" effect="dark" placement="top" :content="scope.columnsObj.formatter(scope.scope)">
<span class="one-line-ellipsis">{{ scope.columnsObj.formatter(scope.scope) }}</span>
</el-tooltip>
<div slot="orderCode" slot-scope="scope">
<el-tooltip v-if="scope.scope.orderCode.split(',').length > 1" effect="dark" placement="top" :content="scope.columnsObj.formatter(scope.scope)">
<span class="one-line-ellipsis">{{ scope.columnsObj.formatter(scope.scope) }}</span>
</el-tooltip>
<div v-else>{{ scope.columnsObj.formatter(scope.scope) }}</div>
</div>
<div slot="auth-button" slot-scope="scope">
<!-- 查看 -->
<span style="margin-right: 10px">
......@@ -31,7 +34,7 @@
<auth-button :data="scope.scope" :show-btn-ids="['9090504']" />
</span>
<!-- 撤销 -->
<span v-if="scope.scope.putStatus == 0" style="margin-right: 10px">
<span v-if="[0, 1].includes(scope.scope.putStatus)" style="margin-right: 10px">
<auth-button :data="scope.scope" :show-btn-ids="['9090503']" />
</span>
<!-- 发货签收单 -->
......
......@@ -75,6 +75,9 @@
<el-input type="textarea" placeholder="请输入驳回原因" maxlength="50" :rows="3" show-word-limit v-model.trim="rejectData.rejectCause" class="dis-in-block reject-input" />
</el-form-item>
</el-form>
<p style="margin-left: 150px; color: #999999;">
说明:驳回后,整个采购订单进行驳回,无法再重新进行发货操作。
</p>
</div>
<!-- <div class="footer">
<el-button @click="handleRejectClose">取消</el-button>
......@@ -92,8 +95,8 @@
<el-input type="textarea" placeholder="请输入备注信息" maxlength="200" :rows="3" show-word-limit v-model.trim="terminateDelivery.terminateDeliveryInstruction" class="dis-in-block reject-input" />
</el-form-item>
</el-form>
<p style="margin-left: 150px">
说明:结束发货后,订单发货完结,无法再重新进行发货操作。是否确定结束发货
<p style="margin-left: 150px; color: #999999;">
说明:结束发货后,整个采购订单发货完结,无法再重新进行发货操作。
</p>
</div>
<!-- <div class="footer">
......@@ -155,7 +158,7 @@ export default {
// ]
},
config: {
title: "驳回提示",
title: "驳回",
width: "750px"
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!