Commit aaf10dad by 前端

Merge branch 'v4.44-0902' into 'master'

上线合并

See merge request !14
2 parents a0a58287 d0128767
......@@ -20,7 +20,7 @@
<div class="detail-info">
<div>
商品名称:
<span>{{ item.upgradeGoodsName }}&nbsp;&nbsp;&nbsp;&nbsp; {{detailInfo.specificationData}}</span>
<span>{{ item.upgradeGoodsName }}&nbsp;&nbsp;&nbsp;&nbsp; {{ detailInfo.specificationData }}</span>
</div>
<div>
发货数量:
......@@ -31,9 +31,7 @@
可用库存数量:
<span>{{ item.stockNum }}{{ membraneTypeList.includes(item.goodsType) ? `米` : `件` }}</span>
</div>
<div class="add-btn" @click="addLineTable(index)" v-if="item.deliveryCardList === null || item.deliveryCardList.length == 0">
添加入库记录
</div>
<div class="add-btn" @click="addLineTable(index)" v-if="item.deliveryCardList === null || item.deliveryCardList.length == 0">添加入库记录</div>
</div>
<el-form ref="addForm" :model="item" size="small" :rules="rules" v-if="item.deliveryCardList === null || item.deliveryCardList.length == 0">
<GLTable :tableData="item.goodsWarehousingList" :noDataImg="url" :tableParams="tableParams" :hasPage="false">
......@@ -73,9 +71,7 @@
</div>
</GLTable>
</el-form>
<div v-else class="message">
已自动入库至商户的权益卡管理中,可前往“库存管理-权益卡管理”中查询
</div>
<div v-else class="message">已自动入库至商户的权益卡管理中,可前往“库存管理-权益卡管理”中查询</div>
</div>
</template>
<el-dialog width="750px" title="查看发货卡号" :visible.sync="innerVisible" append-to-body>
......@@ -83,7 +79,7 @@
</el-dialog>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="dialogShow = false">关闭</el-button>
<el-button type="primary" size="small" @click="handleSave">保存入库</el-button>
<el-button type="primary" size="small" @click="handleSave" :loading="loading">保存入库</el-button>
</span>
</GLDialog>
<filmDialog :visible.sync="filmVisible" :info="info" maxAddNumAttr="stockAddNum" @handleConfirm="handleFilmConfirm"></filmDialog>
......@@ -187,7 +183,8 @@ export default {
filmVisible: false,
info: {},
filmTypeList: [1, 4, 6, 12, 14],
manageMode: false
manageMode: false,
loading: false
}
},
components: {
......@@ -394,7 +391,9 @@ export default {
params.id = this.detailInfo.orderDeliveryId
}
// console.log(params, 'params----')
this.loading = true
this.$apis.delivery.addPurchaseOrder(params).then(res => {
this.loading = false
if (res.code == 0) {
this.$message({
type: 'success',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!