Commit 480791fc authored by xiangzj's avatar xiangzj

审批优化

parent 59dba409
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<van-cell title="产品描述" :value="item.productDesc" /> <van-cell title="产品描述" :value="item.productDesc" />
<van-cell title="未发货件数" :value="item.undeliveredQuantity" /> <van-cell title="未发货件数" :value="item.undeliveredQuantity" />
<van-cell title="本月计划剩余数" :value="item.monthLeftQty" /> <van-cell title="本月计划剩余数" :value="item.monthLeftQty" />
<van-cell title="本次要货件数" :value="item.planQuantity" /> <van-cell title="本次要货件数" :value="item.wantQuantity" />
</div> </div>
<van-button <van-button
class="download-btn" class="download-btn"
...@@ -67,35 +67,39 @@ ...@@ -67,35 +67,39 @@
</div> </div>
<div class="block form-block"> <div class="block form-block">
<van-cell-group> <van-cell-group>
<van-field v-model="conditions.kaStoreShortName" label="卖场简称" placeholder="" /> <van-field v-model="conditions.kaStoreShortName" label="卖场简称" placeholder="" disabled/>
<van-field <van-field
v-model="conditions.kaStoreFullName" v-model="conditions.kaStoreFullName"
label="卖场全称" label="卖场全称"
placeholder="" placeholder=""
error-message="" error-message=""
disabled
/> />
<van-field <van-field
v-model="conditions.kaStoreArea" v-model="conditions.kaStoreArea"
label="卖场区域" label="卖场区域"
placeholder="" placeholder=""
error-message="" error-message=""
disabled
/> />
</van-cell-group> </van-cell-group>
</div> </div>
<div class="block form-block"> <div class="block form-block">
<van-cell-group> <van-cell-group>
<van-field v-model="conditions.isShuntTextView" label="是否分流" placeholder="" /> <van-field v-model="conditions.isShuntTextView" label="是否分流" placeholder="" disabled/>
<van-field <van-field
v-model="conditions.shuntDealer" v-model="conditions.shuntDealer"
label="分流经销商" label="分流经销商"
placeholder="" placeholder=""
error-message="" error-message=""
disabled
/> />
<van-field <van-field
v-model="conditions.noticeSheetTypeTextView" v-model="conditions.noticeSheetTypeTextView"
label="分流经渠道" label="分流经渠道"
placeholder="" placeholder=""
error-message="" error-message=""
disabled
/> />
</van-cell-group> </van-cell-group>
</div> </div>
...@@ -105,39 +109,44 @@ ...@@ -105,39 +109,44 @@
v-model="conditions.shuntReceiveUnitName" v-model="conditions.shuntReceiveUnitName"
label="分流收货单位" label="分流收货单位"
placeholder="" placeholder=""
disabled
/> />
<van-field <van-field
v-model="conditions.receiveUnitName" v-model="conditions.receiveUnitName"
label="收货单位" label="收货单位"
placeholder="" placeholder=""
error-message="" error-message=""
disabled
/> />
<van-field <van-field
v-model="conditions.spurtCodeUnit" v-model="conditions.spurtCodeUnit"
label="喷码单位" label="喷码单位"
placeholder="" placeholder=""
error-message="" error-message=""
disabled
/> />
<van-field v-model="conditions.contacPerson" label="收货联系人" placeholder="" /> <van-field v-model="conditions.contacPerson" label="收货联系人" placeholder="" disabled/>
</van-cell-group> </van-cell-group>
</div> </div>
<div class="block form-block"> <div class="block form-block">
<van-cell-group> <van-cell-group>
<van-field v-model="conditions.contactNumber" label="联系人电话" placeholder="" /> <van-field v-model="conditions.contactNumber" label="联系人电话" placeholder="" disabled/>
<van-field <van-field
v-model="conditions.receiveAddress" v-model="conditions.receiveAddress"
label="收货地址" label="收货地址"
placeholder="" placeholder=""
error-message="" error-message=""
disabled
/> />
<van-field <van-field
v-model="conditions.selfacceptanceTextView" v-model="conditions.selfacceptanceTextView"
label="是否自提" label="是否自提"
placeholder="" placeholder=""
error-message="" error-message=""
disabled
/> />
<van-field v-model="conditions.remark" label="备注" placeholder="" /> <van-field v-model="conditions.remark" label="备注" placeholder="" disabled/>
</van-cell-group> </van-cell-group>
</div> </div>
<div class="block"> <div class="block">
...@@ -346,6 +355,18 @@ export default { ...@@ -346,6 +355,18 @@ export default {
params.currentHandleId = this.taskNode.procUnitHandlerId params.currentHandleId = this.taskNode.procUnitHandlerId
params.currentHandleGroupId = this.taskNode.groupId params.currentHandleGroupId = this.taskNode.groupId
params.taskId = this.$route.query.taskId params.taskId = this.$route.query.taskId
if (this.isShowBase && !this.form.baseAuditQuantity) {
Toast('请正确填写基地审批量')
return
}
if (this.isShowWarZone && !this.form.warAuditQuantity) {
Toast('请正确填写战区审批量')
return
}
if (this.isShowWork && !this.form.salecenterAuditQuantity) {
Toast('请正确填写内勤审批量')
return
}
if (this.conditions.id) { if (this.conditions.id) {
const toast = Toast.loading({ const toast = Toast.loading({
message: '提交中...', message: '提交中...',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment