|
@@ -423,15 +423,15 @@ export default {
|
|
prop: 'code',
|
|
prop: 'code',
|
|
width: 100,
|
|
width: 100,
|
|
overHidden: true,
|
|
overHidden: true,
|
|
- filterable: true,
|
|
|
|
- remote: true,
|
|
|
|
- allowCreate: true,
|
|
|
|
- type: "select",
|
|
|
|
- dicUrl: "/api/blade-box-tube/archives/selectArchivesList?size=10¤t=1&code={{key}}",
|
|
|
|
- props: {
|
|
|
|
- label: "code",
|
|
|
|
- value: "code"
|
|
|
|
- },
|
|
|
|
|
|
+ // filterable: true,
|
|
|
|
+ // remote: true,
|
|
|
|
+ // allowCreate: true,
|
|
|
|
+ // type: "select",
|
|
|
|
+ // dicUrl: "/api/blade-box-tube/archives/selectArchivesList?size=10¤t=1&code={{key}}",
|
|
|
|
+ // props: {
|
|
|
|
+ // label: "code",
|
|
|
|
+ // value: "code"
|
|
|
|
+ // },
|
|
rules: [{
|
|
rules: [{
|
|
required: true,
|
|
required: true,
|
|
message: " ",
|
|
message: " ",
|
|
@@ -707,23 +707,23 @@ export default {
|
|
this.costData = res.data.data
|
|
this.costData = res.data.data
|
|
})
|
|
})
|
|
//下拉箱号带出对应信息
|
|
//下拉箱号带出对应信息
|
|
- this.findObject(this.option.column, "code").change = ({value, column}) => {
|
|
|
|
- selectArchivesList({code: value}).then(res => {
|
|
|
|
- for (let item of res.data.data) {
|
|
|
|
- if (value == item.code) {
|
|
|
|
- this.formTwo = {
|
|
|
|
- boxSource: item.boxSource,
|
|
|
|
- boxStatus: item.boxStatus,
|
|
|
|
- emptyWeight: item.emptyWeight,
|
|
|
|
- grossWeight: item.gorssWeight,
|
|
|
|
- tare: item.tare,
|
|
|
|
- loadingWeight: item.loadingWeight,
|
|
|
|
- volume: item.volume,
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
|
|
+ // this.findObject(this.option.column, "code").change = ({value, column}) => {
|
|
|
|
+ // selectArchivesList({code: value}).then(res => {
|
|
|
|
+ // for (let item of res.data.data) {
|
|
|
|
+ // if (value == item.code) {
|
|
|
|
+ // this.formTwo = {
|
|
|
|
+ // boxSource: item.boxSource,
|
|
|
|
+ // boxStatus: item.boxStatus,
|
|
|
|
+ // emptyWeight: item.emptyWeight,
|
|
|
|
+ // grossWeight: item.gorssWeight,
|
|
|
|
+ // tare: item.tare,
|
|
|
|
+ // loadingWeight: item.loadingWeight,
|
|
|
|
+ // volume: item.volume,
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
|
|
+ // }
|
|
this.key++
|
|
this.key++
|
|
if (this.onLoad.id && this.detailData.id) {
|
|
if (this.onLoad.id && this.detailData.id) {
|
|
this.refresh(this.onLoad.id, true)
|
|
this.refresh(this.onLoad.id, true)
|