手动修改批次号不生效问题

fencang
anthonywj 3 years ago
parent 7519c665a2
commit 1990577d08

@ -703,8 +703,8 @@ export default {
this.$refs.inputRef.select();
},
repeatAddCode() {
let tQuery = Object.assign(JSON.parse(JSON.stringify(this.formData)));
repeatAddCode(editData) {
let tQuery = editData;
tQuery.orderId = this.idQuery.id;
tQuery.actDate = parseTime(this.formData.actDate, '{y}-{m}-{d} {h}:{i}:{s}');
tQuery.action = this.formData.action;

@ -375,7 +375,7 @@ export default {
produceDate: null,
expireDate: null,
serialNo: null,
count:null,
count: null,
},
formRules: {
temp: [
@ -686,8 +686,8 @@ export default {
});
},
repeatAddCode() {
let tQuery = Object.assign(JSON.parse(JSON.stringify(this.formData)));
repeatAddCode(editCode) {
let tQuery = editCode;
tQuery.orderId = this.idQuery.id;
tQuery.actDate = parseTime(this.formData.actDate, '{y}-{m}-{d} {h}:{i}:{s}');
tQuery.action = this.formData.action;

@ -135,8 +135,9 @@ export default {
methods: {
saveCode() {
if (this.editTye == 1) {
this.repeatAddCode();
this.repeatAddCode(this.editData);
} else {
saveCode(this.editData)
.then((response) => {
console.log(response)

Loading…
Cancel
Save