|
@@ -452,7 +452,12 @@ export default {
|
|
|
param.manageUser = this.$store.state.user.id
|
|
param.manageUser = this.$store.state.user.id
|
|
|
param.ftyId = this.$store.state.user.ftyId
|
|
param.ftyId = this.$store.state.user.ftyId
|
|
|
if (this.searchCond) {
|
|
if (this.searchCond) {
|
|
|
- param = Object.assign(param, this.searchCond._value)
|
|
|
|
|
|
|
+ if(this.searchCond._value.lastMoldingDate){
|
|
|
|
|
+ param = Object.assign(param, this.searchCond._value)
|
|
|
|
|
+ }else{
|
|
|
|
|
+ this.searchCond._value.lastMoldingDate= new Date().toDateStr()
|
|
|
|
|
+ param = Object.assign(param, this.searchCond._value)
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
if (!param.lastMoldingDate) {
|
|
if (!param.lastMoldingDate) {
|
|
|
this.$message.error(this.$t('W_093', {
|
|
this.$message.error(this.$t('W_093', {
|
|
@@ -728,6 +733,9 @@ export default {
|
|
|
*/
|
|
*/
|
|
|
chooseMoldline() {
|
|
chooseMoldline() {
|
|
|
this.chooseModal = this.type === this.$config.formMode.add ? true : false
|
|
this.chooseModal = this.type === this.$config.formMode.add ? true : false
|
|
|
|
|
+ if(this.chooseModal){
|
|
|
|
|
+ this.getDataTable()
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
/**
|
|
/**
|
|
|
* @desc : 清空明细
|
|
* @desc : 清空明细
|