Commit 5c695c74 by LJM

bug

parent 0c27ea9f
Showing with 15 additions and 3 deletions
...@@ -144,8 +144,8 @@ ...@@ -144,8 +144,8 @@
</template> </template>
<view class="default row rowCenter verCenter" @click="chooseImageChange()" v-if="image_list.length < maxNum"><text class="iconfont icon-a-juxing3"></text></view> <view class="default row rowCenter verCenter" @click="chooseImageChange()" v-if="image_list.length < maxNum"><text class="iconfont icon-a-juxing3"></text></view>
</view> </view>
<view class="print row verCenter"> <view class="print row verCenter" @click="toggle()">
<text class="check-box-icon curr"></text> <text class="check-box-icon" :class="{ curr: print_flag }"></text>
<text class="tt">整单照片</text> <text class="tt">整单照片</text>
</view> </view>
<view class="h2">理货备注:</view> <view class="h2">理货备注:</view>
...@@ -195,7 +195,8 @@ export default { ...@@ -195,7 +195,8 @@ export default {
coo: '', //产地 coo: '', //产地
other_batch_attr: '', //其他批次属性 other_batch_attr: '', //其他批次属性
image_ids: [], //图片 image_ids: [], //图片
tally_remark: '' //理货备注 tally_remark: '', //理货备注
is_print: 1 //打印入库标签
} }
}; };
}, },
...@@ -226,6 +227,17 @@ export default { ...@@ -226,6 +227,17 @@ export default {
this.getData(); this.getData();
}, },
/** /**
* 是否打印
*/
toggle() {
this.print_flag = !this.print_flag;
if (this.print_flag) {
this.formParams.is_print = 1;
} else {
this.formParams.is_print = 0;
}
},
/**
* 清空数据 * 清空数据
*/ */
clearInput() { clearInput() {
......
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