|
@@ -499,7 +499,7 @@
|
|
/>
|
|
/>
|
|
</ws-form>
|
|
</ws-form>
|
|
</div>
|
|
</div>
|
|
- <div style="text-align: right; padding: 10px">
|
|
|
|
|
|
+ <div style="text-align: right; padding: 10px" class="center">
|
|
<el-button class="bg-bottom" type="primary" size="small" @click="submit()"
|
|
<el-button class="bg-bottom" type="primary" size="small" @click="submit()"
|
|
>提交</el-button
|
|
>提交</el-button
|
|
>
|
|
>
|
|
@@ -543,19 +543,20 @@ export default {
|
|
// 提交类型
|
|
// 提交类型
|
|
submitType: true,
|
|
submitType: true,
|
|
tableData: [{ date: 1111, name: 'qqqq', address: 'errrtt' }],
|
|
tableData: [{ date: 1111, name: 'qqqq', address: 'errrtt' }],
|
|
- selectpackingMethod: {},
|
|
|
|
|
|
+
|
|
packtypeList: [],
|
|
packtypeList: [],
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
mainReportAdd: {},
|
|
mainReportAdd: {},
|
|
appendixIdsAdd: '',
|
|
appendixIdsAdd: '',
|
|
size: 10,
|
|
size: 10,
|
|
- uploadSuccess: {},
|
|
|
|
|
|
+ // uploadSuccess: {},
|
|
|
|
+ // onChange:{},
|
|
unitList: [],
|
|
unitList: [],
|
|
goodnameList: [],
|
|
goodnameList: [],
|
|
- selectgrade: {},
|
|
|
|
|
|
+
|
|
gradeList: [],
|
|
gradeList: [],
|
|
ChapterTwoList: [],
|
|
ChapterTwoList: [],
|
|
- onChange: {},
|
|
|
|
|
|
+
|
|
deptBudgetList: {
|
|
deptBudgetList: {
|
|
contractGoodsInfo: {
|
|
contractGoodsInfo: {
|
|
goodsName: '',
|
|
goodsName: '',
|
|
@@ -568,8 +569,9 @@ export default {
|
|
return time.getTime() > Date.now()
|
|
return time.getTime() > Date.now()
|
|
},
|
|
},
|
|
},
|
|
},
|
|
-
|
|
|
|
- selectunitList: {},
|
|
|
|
|
|
+ // selectpackingMethod: {},
|
|
|
|
+ // selectgrade: {},
|
|
|
|
+ // selectunitList: {},
|
|
// selectDuty: {},
|
|
// selectDuty: {},
|
|
// isEdited: false,
|
|
// isEdited: false,
|
|
// registered: {},
|
|
// registered: {},
|
|
@@ -624,6 +626,23 @@ export default {
|
|
this.ChapterTwoList = response
|
|
this.ChapterTwoList = response
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ // 上传附件
|
|
|
|
+ uploadSuccess(data, files, url) {
|
|
|
|
+ console.log(data, files, url)
|
|
|
|
+
|
|
|
|
+ // this.deptBudgetList.
|
|
|
|
+ // this.formData.append('files', files)
|
|
|
|
+ // this.feedbackObj.uploadNameAttachment = data.appendixName
|
|
|
|
+ // this.feedbackObj.pathUploadAttachment = data.appendixPath
|
|
|
|
+ // // this.newAppendixs = files
|
|
|
|
+ // this.onChangeFlag = true
|
|
|
|
+ },
|
|
|
|
+ onChange(files) {
|
|
|
|
+ this.fileNum = files
|
|
|
|
+ this.$refs.upload.handleSaveBill().then((res) => {
|
|
|
|
+ console.log(files)
|
|
|
|
+ })
|
|
|
|
+ },
|
|
getUnitList() {
|
|
getUnitList() {
|
|
xiala({
|
|
xiala({
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
@@ -702,6 +721,56 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ selectContract(val) {
|
|
|
|
+ let key = this.unitList.find((item) => item.constValue === val).constKey
|
|
|
|
+ this.pleaseChoose = val
|
|
|
|
+ },
|
|
|
|
+ selectContract(val) {
|
|
|
|
+ let key = this.unitList.find((item) => item.constValue === val).constKey
|
|
|
|
+ this.pleaseChoose = val
|
|
|
|
+ },
|
|
|
|
+ handleExamine() {},
|
|
|
|
+ approve() {},
|
|
|
|
+ returnsales() {
|
|
|
|
+ this.$router.push({ path: 'purchaseContract' })
|
|
|
|
+ },
|
|
|
|
+ selectChapterTwo(e) {
|
|
|
|
+ for (var i = 0; i < this.ChapterTwoList.length; i++) {
|
|
|
|
+ if (this.ChapterTwoList[i].constValue == e) {
|
|
|
|
+ this.deptBudgetList.gradeKey = this.ChapterTwoList[i].constKey
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ selectunitList(e) {
|
|
|
|
+ for (var i = 0; i < this.unitList.length; i++) {
|
|
|
|
+ if (this.unitList[i].constValue == e) {
|
|
|
|
+ this.deptBudgetList.packingMethodKey = this.unitList[i].constKey
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ selectgrade(e) {
|
|
|
|
+ for (var i = 0; i < this.gradeList.length; i++) {
|
|
|
|
+ if (this.gradeList[i].constValue == e) {
|
|
|
|
+ this.deptBudgetList.gradeKey = this.gradeList[i].constKey
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ selectgoodsName(e) {
|
|
|
|
+ for (var i = 0; i < this.goodnameList.length; i++) {
|
|
|
|
+ if (this.goodnameList[i].constValue == e) {
|
|
|
|
+ this.deptBudgetList.goodsNameKey = this.goodnameList[i].constKey
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ selectpackingMethod(e) {
|
|
|
|
+ for (var i = 0; i < this.packtypeList.length; i++) {
|
|
|
|
+ if (this.packtypeList[i].constValue == e) {
|
|
|
|
+ this.deptBudgetList.acceptanceMethodKey = this.packtypeList[
|
|
|
|
+ i
|
|
|
|
+ ].constKey
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
// 编辑
|
|
// 编辑
|
|
editClick(item, index) {
|
|
editClick(item, index) {
|
|
const map = JSON.parse(JSON.stringify(item))
|
|
const map = JSON.parse(JSON.stringify(item))
|