Browse Source

出库审核 采购退库

master
Zhao Qiqi 3 years ago
parent
commit
db12840952
  1. 2
      anrui-scm/anrui-scm-ui/src/views/examinePage/chukushenhe/chukushenheTodo.vue
  2. 7
      anrui-scm/anrui-scm-ui/src/views/supplychain/caigoutuiku/caigoutuiku.vue
  3. 20
      anrui-scm/anrui-scm-ui/src/views/supplychain/caigoutuiku/caigoutuikuAdd.vue
  4. 4
      anrui-scm/anrui-scm-ui/src/views/supplychain/tiaozhangshenqingguanli/tiaozhangshenqingguanliInfo.vue
  5. 20
      anrui-scm/anrui-scm-ui/src/views/workFlow/caigoutuikuFlow/caigoutuikuEdit.vue

2
anrui-scm/anrui-scm-ui/src/views/examinePage/chukushenhe/chukushenheTodo.vue

@ -52,7 +52,7 @@
><span slot="label">是否为终端客户</span></el-form-item>
</el-col>
<el-col :span="6">
<el-form-item>
<el-form-item> <!-- -->
<el-radio v-model="temp.isTerminal" disabled :label="0"></el-radio>
<el-radio v-model="temp.isTerminal" disabled :label="1"></el-radio>
</el-form-item>

7
anrui-scm/anrui-scm-ui/src/views/supplychain/caigoutuiku/caigoutuiku.vue

@ -163,6 +163,9 @@ export default {
case 'doExport':
this.doExport()
break
case 'doClose':
this.doClose()
break
default:
break
}
@ -323,6 +326,10 @@ export default {
document.body.removeChild(link) //
}).catch(() => {
})
},
doClose(){
this.$store.dispatch('tagsView/delView', this.$route);
this.$router.go(-1)
}
}
}

20
anrui-scm/anrui-scm-ui/src/views/supplychain/caigoutuiku/caigoutuikuAdd.vue

@ -62,6 +62,7 @@
placeholder="请输入退库费用"
class="addinputw"
clearable
@keyup.native="formobj.money = oninput(formobj.money,2)"
/>
</el-form-item>
</el-col>
@ -169,6 +170,25 @@ export default {
methods: {
init() {
},
//
oninput(val, limit = 0) {
val = val.replace(/[^\d.]/g, '') //
val = val.replace(/^00/, '0.') //0
val = val.replace(/^\./g, '0.') //0.
val = val.replace(/\.{2,}/g, '.') //
val = val.replace('.', '$#$').replace(/\./g, '').replace('$#$', '.'); //
/^0\d+/.test(val) ? val = val.slice(1) : '' //0
const str = '^(\\d+)\\.(\\d{' + limit + '}).*$'
const reg = new RegExp(str)
if (limit === 0) {
//
val = val.replace(reg, '$1')
} else {
//
val = val.replace(reg, '$1.$2')
}
return val
},
//
handleyudingcheliang() {

4
anrui-scm/anrui-scm-ui/src/views/supplychain/tiaozhangshenqingguanli/tiaozhangshenqingguanliInfo.vue

@ -79,9 +79,7 @@
</el-table-column>
<el-table-column label="发票类型" align="center">
<template slot-scope="scope">
<el-input v-model="scope.row.inboundDate" placeholder="请输入" class="addinputw"
:readonly="depositVehicleList[scope.$index].inboundDate"/>
<!-- <span>{{scope.row.inboundDate}}</span>-->
<span>{{ scope.row.inboundDate }}</span>
</template>
</el-table-column>
<el-table-column label="运费" align="center">

20
anrui-scm/anrui-scm-ui/src/views/workFlow/caigoutuikuFlow/caigoutuikuEdit.vue

@ -61,6 +61,7 @@
placeholder="请输入退库费用"
class="addinputw"
clearable
@keyup.native="formobj.money = oninput(formobj.money,2)"
/>
</el-form-item>
</el-col>
@ -196,6 +197,25 @@
methods: {
init() {
},
//
oninput(val, limit = 0) {
val = val.replace(/[^\d.]/g, '') //
val = val.replace(/^00/, '0.') //0
val = val.replace(/^\./g, '0.') //0.
val = val.replace(/\.{2,}/g, '.') //
val = val.replace('.', '$#$').replace(/\./g, '').replace('$#$', '.'); //
/^0\d+/.test(val) ? val = val.slice(1) : '' //0
const str = '^(\\d+)\\.(\\d{' + limit + '}).*$'
const reg = new RegExp(str)
if (limit === 0) {
//
val = val.replace(reg, '$1')
} else {
//
val = val.replace(reg, '$1.$2')
}
return val
},
//
handleyudingcheliang() {

Loading…
Cancel
Save