|
@@ -313,7 +313,7 @@
|
|
|
<span class="liName">
|
|
|
关联企业
|
|
|
</span>
|
|
|
- <div class="inputBox" style="border-bottom: none">
|
|
|
+ <div class="inputBox" style="border-bottom: none" @tap="toChoose">
|
|
|
<input placeholder="" v-model="form.associationCompanyName" disabled class="myIpt">
|
|
|
<van-icon name="arrow" />
|
|
|
</div>
|
|
@@ -372,17 +372,21 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { getUserLocalStorageInfo,getByCodes,companyExamineGetById,companyExamineExamine,getAllBaseCompany } from "@/js_sdk/http";
|
|
|
+import { getUserLocalStorageInfo,getByCodes,companyExamineGetById,companyExamineExamine } from "@/js_sdk/http";
|
|
|
|
|
|
export default {
|
|
|
name: "inventoryReview",
|
|
|
onLoad(options){
|
|
|
- console.log('options:',options)
|
|
|
+ uni.$on('selectInfo',e=>{
|
|
|
+ console.log('eeeeeeeeeee',JSON.parse(e))
|
|
|
+ })
|
|
|
this.id = options.id
|
|
|
this.proveType = options.proveType
|
|
|
+ // this.getCompanyList()
|
|
|
+ },
|
|
|
+ onShow(){
|
|
|
this.getById()
|
|
|
this.getByCodes()
|
|
|
- this.getCompanyList()
|
|
|
},
|
|
|
data(){
|
|
|
return{
|
|
@@ -477,11 +481,11 @@ export default {
|
|
|
this.form.settleInType = event.detail
|
|
|
},
|
|
|
onChange2(event) {
|
|
|
- console.log(event)
|
|
|
+ // console.log(event)
|
|
|
this.form.state = event.detail
|
|
|
},
|
|
|
onChange3(event) {
|
|
|
- console.log(event)
|
|
|
+ // console.log(event)
|
|
|
this.form.handleOpinions = event.detail
|
|
|
},
|
|
|
deleteRYXXZP(event) {
|
|
@@ -489,7 +493,7 @@ export default {
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
|
uploadRYXXZP(event) {
|
|
|
- console.log(event)
|
|
|
+ // console.log(event)
|
|
|
let that = this;
|
|
|
const { file } = event.detail;
|
|
|
uni.uploadFile({
|
|
@@ -512,7 +516,7 @@ export default {
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
|
uploadRYXXZP1(event) {
|
|
|
- console.log(event)
|
|
|
+ // console.log(event)
|
|
|
let that = this;
|
|
|
const { file } = event.detail;
|
|
|
uni.uploadFile({
|
|
@@ -535,7 +539,7 @@ export default {
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
|
uploadRYXXZP2(event) {
|
|
|
- console.log(event)
|
|
|
+ // console.log(event)
|
|
|
let that = this;
|
|
|
const { file } = event.detail;
|
|
|
uni.uploadFile({
|
|
@@ -646,10 +650,11 @@ export default {
|
|
|
this.show = true
|
|
|
},
|
|
|
onConfirm(e){
|
|
|
- console.log(e)
|
|
|
+ // console.log(e)
|
|
|
switch (this.popType) {
|
|
|
case "币种":
|
|
|
this.form.currency = e.detail.value.label
|
|
|
+ this.form.currencyStr = e.detail.value.label
|
|
|
break;
|
|
|
}
|
|
|
this.show = false
|
|
@@ -689,11 +694,11 @@ export default {
|
|
|
this.timeShow = false
|
|
|
// this.getRoomTime(this.startTime)
|
|
|
},
|
|
|
- getCompanyList(){
|
|
|
- getAllBaseCompany({}).then(res=>{
|
|
|
- this.companyOptions = res
|
|
|
- })
|
|
|
- }
|
|
|
+ toChoose(){
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pages/subPackages/todo/associated"
|
|
|
+ });
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
</script>
|