Commit 3310f537 by wangyanjiao

bdtdcr 事件关联优化

parent 581bbf47
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
<el-form-item label="快递单号" v-if="model.bddgrp.rec.advdocflg=='X'"> <el-form-item label="快递单号" v-if="model.bddgrp.rec.advdocflg == 'X'">
<c-input type="textarea" :rows="2" v-model="model.expmno" maxlength="120" show-word-limit <c-input type="textarea" :rows="2" v-model="model.expmno" maxlength="120" show-word-limit placeholder="请输入单号">
placeholder="请输入单号"></c-input> </c-input>
</el-form-item> </el-form-item>
<!-- <c-row> <!-- <c-row>
<c-form-item label="已交单据" prop="bdtp.docgrdm.docgrd"> <c-form-item label="已交单据" prop="bdtp.docgrdm.docgrd">
...@@ -65,9 +65,9 @@ ...@@ -65,9 +65,9 @@
<c-col :span="12"> <c-col :span="12">
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<div class="c-checkbox"> <el-form-item label="" prop="bddgrp.blk.docdisflg">
<c-checkbox v-model="model.bddgrp.blk.docdisflg" @change="changed">录入不符点</c-checkbox> <c-checkbox v-model="docdisflg" @change="changed" disabled>录入不符点</c-checkbox>
</div> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
</c-col> </c-col>
...@@ -154,6 +154,19 @@ export default { ...@@ -154,6 +154,19 @@ export default {
}, },
}, },
created: function () { }, created: function () { },
computed: {
docdisflg: {
get() {
return this.model.advdisflg === "X";
},
set(val) {
this.model.bddgrp.blk.docdisflg = val ? "X" : "";
},
}
}
}; };
</script> </script>
<style> <style>
......
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