opt:优化

This commit is contained in:
DESKTOP-5DIJMF9\admin
2025-07-15 17:51:25 +08:00
parent eed7e186cc
commit 336a6d9594
14 changed files with 27 additions and 2452 deletions

View File

@@ -229,7 +229,6 @@
</el-table-column>
</el-table>
</el-card>
<pointDialog ref="child" :dialog-show.sync="pointshow" :dialog-typedisable="typedisable" :dialog-areatype="areatype" @PointChanged="PointChanged" />
<StructIvt :dialog-show.sync="structshow" :stor-id="storId" :open-array="openParam" :rowmst="openRow" @StructIvtClosed="queryTableDtl2" />
</el-dialog>
</template>
@@ -238,16 +237,14 @@
import CRUD, { crud } from '@crud/crud'
import checkoutbill from '@/views/wms/st/outbill/checkoutbill'
import StructIvt from '@/views/wms/st/outbill/StructIvt'
import PointDialog from '@/views/wms/sch/point/PointDialog'
import crudPoint from '@/views/wms/sch/point/schBasePoint'
import crudSectattr from '@/views/wms/basedata/sectattr/sectattr'
import { autoCancel, getOutBillDis } from './checkoutbill'
export default {
name: 'DivDialog',
components: { PointDialog, StructIvt },
components: { StructIvt },
mixins: [crud()],
dicts: ['io_bill_status', 'ST_QUALITY_SCODE', 'ST_IVT_LEVEL', 'is_used', 'work_status', 'is_usable', 'IS_OR_NOT'],
dicts: ['io_bill_status', 'work_status'],
props: {
dialogShow: {
type: Boolean,
@@ -273,7 +270,6 @@ export default {
loadingSetAllPoint: false,
areatype: '',
typedisable: false,
pointshow: false,
structshow: false,
button1: true,
button2: true,
@@ -297,7 +293,7 @@ export default {
sects: [],
pointList: [],
rules: {
},
}
}
},
watch: {
@@ -314,7 +310,6 @@ export default {
rowmst: {
handler(newValue, oldValue) {
this.mstrow = newValue
// this.mstrow.stor_id = ''
}
}
},
@@ -338,9 +333,6 @@ export default {
bill_statusFormat(row, column) {
return this.dict.label.io_bill_status[row.bill_status]
},
PointChanged(row) {
this.form2.point_code = row.point_code
},
openStructIvt() {
this.currentRow.remark = ''
this.currentRow.stor_id = this.storId