Browse Source

修改入账、验车

zhanglei
yunuo970428 3 years ago
parent
commit
77b076a486
  1. 4
      anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangAdd.vue
  2. 4
      anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/yancheguanliAdd.vue
  3. 4
      anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangEdit.vue

4
anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangAdd.vue

@ -606,6 +606,10 @@ export default {
},
submitVehicleApply() {
this.getUrl()
if (this.formobj.priceDate === '' || this.formobj.priceDate === null) {
this.$message({ showClose: true, type: 'error', message: '厂家入库日期不能为空' })
return
}
if (this.formobj.departureDate === '') {
alert('厂家发车日期不能为空!')
return

4
anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/yancheguanliAdd.vue

@ -20,7 +20,7 @@
v-model="temp.vin"
placeholder="请输入车架号"
class="addinputw"
:readonly="temp.purchaseKey !== '001' && temp.purchaseKey !== '002' && temp.purchaseKey !== '004'"
:readonly="temp.purchaseKey !== '002'"
/>
</el-form-item>
</el-col>
@ -62,7 +62,7 @@
<el-col :span="12" class="yancheAdd-bor">
<el-form-item prop="priceDate" label="厂家入库日期:">
<el-date-picker
:readonly="temp.purchaseKey !== '001' && temp.purchaseKey !== '002' && temp.purchaseKey !== '004'"
:readonly="temp.purchaseKey !== '002'"
v-model="temp.inboundDate"
type="date"
placeholder="选择日期"

4
anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangEdit.vue

@ -628,6 +628,10 @@ export default {
},
submitVehicleApply() {
this.getUrl()
if (this.formobj.priceDate === '' || this.formobj.priceDate === null) {
this.$message({ showClose: true, type: 'error', message: '厂家入库日期不能为空' })
return
}
if (this.formobj.departureDate === '') {
alert('厂家发车日期不能为空!')
return

Loading…
Cancel
Save