Commit 26639865 by LJM

bug

parent b0a6568c
Showing with 13 additions and 1 deletions
...@@ -118,7 +118,10 @@ ...@@ -118,7 +118,10 @@
<view class="input-box"><input type="text" class="uni-input" placeholder-style="color:#919399" placeholder="请输入D/C" v-model="formParams.date_code" /></view> <view class="input-box"><input type="text" class="uni-input" placeholder-style="color:#919399" placeholder="请输入D/C" v-model="formParams.date_code" /></view>
</view> </view>
<view> <view>
<view class="input-title"><text class="input-title-t2">产 地:</text></view> <view class="input-title">
<text class="input-title-t1" v-if="detail.stock_in_type == 4">*</text>
<text class="input-title-t2">产 地:</text>
</view>
<view class="pick-box"> <view class="pick-box">
<picker @change="bindPickerChange($event, 1)" :value="useOptionIndex" :range="useOption" :range-key="'country_cn'"> <picker @change="bindPickerChange($event, 1)" :value="useOptionIndex" :range="useOption" :range-key="'country_cn'">
<view class="row verCenter"> <view class="row verCenter">
...@@ -527,6 +530,15 @@ export default { ...@@ -527,6 +530,15 @@ export default {
return false; return false;
} }
if (this.detail.stock_in_type == 4) {
uni.showModal({
itle: '提示',
content: '请填写产地',
showCancel: false
});
return false;
}
var wait_tally_qty = Number(this.detail.wait_tally_qty); var wait_tally_qty = Number(this.detail.wait_tally_qty);
var params = { var params = {
......
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 sign in to comment